Run deployer wizard on OpenShift🔗
Log in to the OpenShift cluster🔗
Log is as a cluster administrator to be able to run the deployer with the correct permissions.
Prepare the deployer project🔗
- Go to the OpenShift console
- Click the "+" sign at the top of the page
- Paste the following block (exactly) into the window
Prepare the deployer project
---
apiVersion: v1
kind: Namespace
metadata:
creationTimestamp: null
name: cloud-pak-deployer
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: cloud-pak-deployer-sa
namespace: cloud-pak-deployer
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: system:openshift:scc:privileged
namespace: cloud-pak-deployer
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:openshift:scc:privileged
subjects:
- kind: ServiceAccount
name: cloud-pak-deployer-sa
namespace: cloud-pak-deployer
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cloud-pak-deployer-cluster-admin
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: cloud-pak-deployer-sa
namespace: cloud-pak-deployer
Start the deployer🔗
- Go to the OpenShift console
- Click the "+" sign at the top of the page
- Paste the following block into the window. You can update the image on line 11 and the same value will be used for image for the Deployer Job
Start the deployer wizard
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | |
Open the wizard🔗
Now you can access the deployer wizard using the route created in the cloud-pak-deployer project. * Open the OpenShift console * Go to Networking → Routes * Click the Cloud Pak Deployer wizard route * Log in using your OpenShift cluster admin credentials (typically kubeadmin) * Accept the information that will be shared with Cloud Pak Deployer