Yes, the steps look generally correct. I would install Velero though. It is rare for people to never want to back up resources. The installation *should* proceed without it.
Usually this type of issue is the secrets not being in the correct place or not working correctly. I would go over that portion carefully and ensure they are all correct and in all the correct namespaces.
Original Message:
Sent: Thu April 28, 2022 02:55 PM
From: Michael Malitz
Subject: Cant install IBM Spectrum Protect Plus Container Backup Support 10.1.9 and 10.1.10 on K8s
Hallo Lisa,
thanks for the info.
the POD ibmsppc-operator-controller-manager is not running in the namespace baas
OK, so i will look once more to the detailed prereqs and steps as you suggest. This i will do beginning of next week.
General question: the overview of the general overall steps / activities which I previously mentioned - are they generally per se correct or am i missing A STEP in principle?
just for your info i've attached a view of all my PODs & NS in my K8s cluster:
Lisa, thanks again..
+++ POD view +++
Namespaces:
+++++ end +++
------------------------------
Michael Malitz
Project Manager
MM IT Consulting GmbH
Krems
+43(0)6641415275
Original Message:
Sent: Wed April 27, 2022 03:26 PM
From: Lisa Huston
Subject: Cant install IBM Spectrum Protect Plus Container Backup Support 10.1.9 and 10.1.10 on K8s
The ibmsppc-operator-controller-manager pod is the one that would need to be running in order to recognize the IBMSPPC object. You can check that with 'kubectl get pods -n baas'. If that is running, you can try the logs for it.
kubectl logs -f ibmsppc-operator-controller-manager-xyz -c manager -n baas
If it is not running, then go through the prerequisite steps and see if something got missed.
https://www.ibm.com/docs/en/spp/10.1.10?topic=cluster-preparing-install-operator-kubernetes
------------------------------
Lisa Huston
Original Message:
Sent: Wed April 27, 2022 02:23 PM
From: Michael Malitz
Subject: Cant install IBM Spectrum Protect Plus Container Backup Support 10.1.9 and 10.1.10 on K8s
Her it is..
------------------------------
Michael Malitz
Project Manager
MM IT Consulting GmbH
Krems
+43(0)6641415275
Original Message:
Sent: Wed April 27, 2022 02:16 PM
From: Kevin Hoyt
Subject: Cant install IBM Spectrum Protect Plus Container Backup Support 10.1.9 and 10.1.10 on K8s
Could you also get the output from this command:
kubectl get pods -n olm
------------------------------
Kevin Hoyt
IBM
San Jose CA
Original Message:
Sent: Wed April 27, 2022 01:34 PM
From: Michael Malitz
Subject: Cant install IBM Spectrum Protect Plus Container Backup Support 10.1.9 and 10.1.10 on K8s
and the missing output for
kubectl get catalogsource –A
+++ end +++
------------------------------
Michael Malitz
Project Manager
MM IT Consulting GmbH
Krems
+43(0)6641415275
Original Message:
Sent: Wed April 27, 2022 01:32 PM
From: Michael Malitz
Subject: Cant install IBM Spectrum Protect Plus Container Backup Support 10.1.9 and 10.1.10 on K8s
Hallo Kevin,
thanks for your quick reaction. I'm an instructor for TSM and SPP and would like to
show the K8s provider to my students.
My K8S installation is a small Test-Installation (no minikube or so…)
Just for completeness I tell you the steps what I have done. I try to install "online" and not air-gapped.
My aim was just to install ONLY the absolute necessary components, so that I can register the provider in SPP and show the install process and
"a PVC" .
So e.g. currently no velero, no metrics server and no application to volume claim relationship.
Install steps
- Certificate manager - installed successfully
- Bass-options.sh created:
export DOCKER_REGISTRY_ADDRESS='cp.icr.io/cp'
export DOCKER_REGISTRY_USERNAME='cp'
export DOCKER_REGISTRY_PASSWORD=' the key I copied '
export DOCKER_REGISTRY_NAMESPACE='sppc'
export SPP_ADMIN_USERNAME='mm_admin'
export SPP_ADMIN_PASSWORD='xxxxxxx'
export DATAMOVER_USERNAME='mm_admin'
export DATAMOVER_PASSWORD='xxxxxxx'
export MINIO_USERNAME='mm_admin'
export MINIO_PASSWORD='xxxxxxx'
export REDHAT_REGISTRY_ADDRESS='registry.redhat.io'
export REDHAT_REGISTRY_USERNAME='my userid'
export REDHAT_REGISTRY_PASSWORD='my_pw'
- Access to redhat and ibm registries is OK and I logged in successfully to both registries
- Operator Life-cycle Manager - installed successfully
- Namespace baas ceated
- Secrets as on page 140 UG - created successfully
- baas-k8s-catalogsource.yaml - applied successfully
- baas-k8s-operatorgroup.yaml and baas-k8s-subscription.yaml - applied successfully
outputs of steps 1 and 2 mentioned on page 142 UG 10.1.10:
kubectl apply -f baas-k8s-catalogsource.yaml
kubectl get catalogsource –A
kubectl describe catalogsource -n olm ibm-sppc-operator | grep Image
- my baas-values-cr.yaml file: (indention in "real" file is correct)
apiVersion: sppc.ibm.com/v1
#apiVersion: IBMSPPC.V1.sppc.ibm.com
kind: IBMSPPC
metadata:
namespace: baas
# Malitz 04-2022
name: ibmsppc-entitled-registry
spec:
state: present
version: 10.1.10
license:
accept: true
# use_nodeport: false
product_loglevel: INFO
cluster_name: MM_K8s_Cluster
image_registry_namespace: sppc
image_registry: 'cp.icr.io/cp'
#
image_registry_secret: baas-registry-secret
spp_port: 443
spp_ips: 192.168.1.50
spp_fqdn: spp.enablement.lab
networkPolicy:
cluster_api_serverips:
- 192.168.1.210
#- kubernetes_host_ip2
#- kubernetes_host_ip3
cluster_api_serverport: 6443
cluster_cidr: 10.244.0.0/16
is_server_installed_on_another_cluster: false
other_cluster_cidr_block: None
#other_cluster_cidr_block: '24'
minio_storage_class: None
#minio_storage_class: name_of_storageclass_to_use_with_minio
velero_namespace: None
cluster_nodes_fqdn:
- mm-k8s-master.enablement.lab
- mm-k8s-worker-1.enablement.lab
kubectl apply -f ./baas-values-cr.yaml
Result:
[root@mm-k8s-master mikels_yaml_files]# kubectl apply -f ./baas-values-cr.yaml
error: unable to recognize "./baas-values-cr.yaml": no matches for kind "IBMSPPC" in version "sppc.ibm.com/v1"
"./baas-values-cr.yaml": no matches for kind "IBMSPPC" in version "sppc.ibm.com/v1"
+++++++++++++++ end of infos ++++++++++++++++
------------------------------
Michael Malitz
Project Manager
MM IT Consulting GmbH
Krems
+43(0)6641415275
Original Message:
Sent: Tue April 26, 2022 03:42 PM
From: Kevin Hoyt
Subject: Cant install IBM Spectrum Protect Plus Container Backup Support 10.1.9 and 10.1.10 on K8s
Hi Michael,
Let's take a quick look to see if we can make progress here.
IBMSPPC is created by the operator. Can you post the output from the commands in steps 1 & 2?
------------------------------
Kevin Hoyt
IBM
San Jose CA
Original Message:
Sent: Fri April 22, 2022 04:53 PM
From: Michael Malitz
Subject: Cant install IBM Spectrum Protect Plus Container Backup Support 10.1.9 and 10.1.10 on K8s
I'm not sure if my last post was saved..
so: i have the same error as you had. Did you find the error ?
thanks in advance and rgds Michael Malitz from Vienna
------------------------------
Michael Malitz
Project Manager
MM IT Consulting GmbH
Krems
+43(0)6641415275
Original Message:
Sent: Wed March 16, 2022 09:38 AM
From: Bjorn Wikzell
Subject: Cant install IBM Spectrum Protect Plus Container Backup Support 10.1.9 and 10.1.10 on K8s
Hi
I try to follow the guide for installing Container Backup Support
But get an error when applying the kubectl apply -f ./baas-values-cr.yaml.
error: unable to recognize "./baas-values-cr.yaml": no matches for kind "IBMSPPC" in version "sppc.ibm.com/v1"
Have anyone got this working?
Installing the Container Backup Support operator and instance at the Kubernetes command lineIbm | remove preview |
| Installing the Container Backup Support operator and instance at the Kubernetes command line | You can use the command line in the Kubernetes environment to install the Container Backup Support operator and instance from the IBM Entitled Registry. | View this on Ibm > |
|
|
------------------------------
Bjorn Wikzell
------------------------------