redhat-ai-services / ai-accelerator

The AI Accelerator is a template project for setting up Red Hat OpenShift AI using GitOps
28 stars 59 forks source link

AI Accelerator 2.13 Stable Updates #53

Closed carlmes closed 1 month ago

carlmes commented 1 month ago

Tasks in this pull request:

carlmes commented 1 month ago

Testing on a demo.redhat.com blank cluster.

❯ ./bootstrap.sh
Validating CLI tool: oc
/opt/homebrew/bin/oc
auto-complete: . <(oc completion bash)
Client Version: 4.16.13
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: 4.16.15
Kubernetes Version: v1.29.8+f10c92d

Validating CLI tool: kustomize
/opt/homebrew/bin/kustomize
auto-complete: . <(kustomize completion bash)
v5.4.3

Kubernetes control plane is running at https://api.cluster-f682c.f682c.sandbox618.opentlc.com:6443
kube:admin

Checking if GitOps Operator is already installed and running

Installing GitOps Operator.
namespace/openshift-gitops-operator created
clusterrole.rbac.authorization.k8s.io/job-gitops-console-plugin created
clusterrolebinding.rbac.authorization.k8s.io/job-gitops-console-plugin created
operatorgroup.operators.coreos.com/openshift-gitops-operator created
subscription.operators.coreos.com/openshift-gitops-operator created
.namespace/openshift-gitops-operator unchanged
clusterrole.rbac.authorization.k8s.io/job-gitops-console-plugin unchanged
clusterrolebinding.rbac.authorization.k8s.io/job-gitops-console-plugin unchanged
operatorgroup.operators.coreos.com/openshift-gitops-operator unchanged
subscription.operators.coreos.com/openshift-gitops-operator unchanged
.namespace/openshift-gitops-operator unchanged
clusterrole.rbac.authorization.k8s.io/job-gitops-console-plugin unchanged
clusterrolebinding.rbac.authorization.k8s.io/job-gitops-console-plugin unchanged
operatorgroup.operators.coreos.com/openshift-gitops-operator unchanged
subscription.operators.coreos.com/openshift-gitops-operator unchanged
.namespace/openshift-gitops-operator unchanged
clusterrole.rbac.authorization.k8s.io/job-gitops-console-plugin unchanged
clusterrolebinding.rbac.authorization.k8s.io/job-gitops-console-plugin unchanged
operatorgroup.operators.coreos.com/openshift-gitops-operator unchanged
subscription.operators.coreos.com/openshift-gitops-operator unchanged
.namespace/openshift-gitops-operator unchanged
clusterrole.rbac.authorization.k8s.io/job-gitops-console-plugin unchanged
clusterrolebinding.rbac.authorization.k8s.io/job-gitops-console-plugin unchanged
operatorgroup.operators.coreos.com/openshift-gitops-operator unchanged
subscription.operators.coreos.com/openshift-gitops-operator unchanged
.namespace/openshift-gitops-operator unchanged
clusterrole.rbac.authorization.k8s.io/job-gitops-console-plugin unchanged
clusterrolebinding.rbac.authorization.k8s.io/job-gitops-console-plugin unchanged
operatorgroup.operators.coreos.com/openshift-gitops-operator unchanged
subscription.operators.coreos.com/openshift-gitops-operator unchanged
.namespace/openshift-gitops-operator unchanged
serviceaccount/job-gitops-console-plugin created
clusterrole.rbac.authorization.k8s.io/job-gitops-console-plugin unchanged
clusterrolebinding.rbac.authorization.k8s.io/job-gitops-console-plugin unchanged
configmap/job-gitops-console-plugin created
job.batch/job-gitops-console-plugin created
operatorgroup.operators.coreos.com/openshift-gitops-operator unchanged
subscription.operators.coreos.com/openshift-gitops-operator unchanged

Waiting for deployment of the openshift-gitops-operator-controller-manager to begin...
NAME                                           READY   UP-TO-DATE   AVAILABLE   AGE
openshift-gitops-operator-controller-manager   0/1     1            0           13s
Waiting for openshift-gitops-operator-controller-manager to start...
deployment.apps/openshift-gitops-operator-controller-manager condition met
Waiting for openshift-gitops namespace to be created...
namespace/openshift-gitops condition met
Waiting for deployments to start...
deployment.apps/cluster condition met
Checking status of all openshift-gitops pods
Waiting for deployment/cluster state to be condition=Available...
deployment.apps/cluster condition met
Waiting for deployment/kam state to be condition=Available...
deployment.apps/kam condition met
Waiting for statefulset/openshift-gitops-application-controller state to be jsonpath={.status.readyReplicas}=1...
pod/openshift-gitops-application-controller-0 condition met
Waiting for deployment/openshift-gitops-applicationset-controller state to be condition=Available...
deployment.apps/openshift-gitops-applicationset-controller condition met
Waiting for deployment/openshift-gitops-redis state to be condition=Available...
deployment.apps/openshift-gitops-redis condition met
Waiting for deployment/openshift-gitops-repo-server state to be condition=Available...
deployment.apps/openshift-gitops-repo-server condition met
Waiting for deployment/openshift-gitops-server state to be condition=Available...
deployment.apps/openshift-gitops-server condition met

OpenShift GitOps successfully installed.
1) rhoai-eus-2.8-aws-gpu  3) rhoai-fast-aws-gpu     5) rhoai-stable-2.10
2) rhoai-eus-2.8      4) rhoai-fast         6) rhoai-stable-2.13
Please enter a number to select a bootstrap folder: 6

Selected: rhoai-stable-2.13

FORCE is set to 
\e[33myq could not be found.  We are unable to verify the branch of your repo.\e[0m
Apply overlay to override default instance
clusterrolebinding.rbac.authorization.k8s.io/openshift-gitops-application-controller-cluster-admin created
appproject.argoproj.io/cluster-config created
appproject.argoproj.io/gitops-config created
appproject.argoproj.io/operators-config created
appproject.argoproj.io/tenants created
application.argoproj.io/cluster-config-app-of-apps created
applicationset.argoproj.io/cluster-configs created
applicationset.argoproj.io/cluster-operators created
applicationset.argoproj.io/tenants created
Warning: resource argocds/openshift-gitops is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by oc apply. oc apply should only be used on resources created declaratively by either oc create --save-config or oc apply. The missing annotation will be patched automatically.
argocd.argoproj.io/openshift-gitops configured
group.user.openshift.io/gitops-admins created
Checking status of all openshift-gitops pods
Waiting for deployment/cluster state to be condition=Available...
deployment.apps/cluster condition met
Waiting for deployment/kam state to be condition=Available...
deployment.apps/kam condition met
Waiting for statefulset/openshift-gitops-application-controller state to be jsonpath={.status.readyReplicas}=1...
pod/openshift-gitops-application-controller-0 condition met
Waiting for deployment/openshift-gitops-applicationset-controller state to be condition=Available...
deployment.apps/openshift-gitops-applicationset-controller condition met
Waiting for deployment/openshift-gitops-redis state to be condition=Available...
deployment.apps/openshift-gitops-redis condition met
Waiting for deployment/openshift-gitops-repo-server state to be condition=Available...
deployment.apps/openshift-gitops-repo-server condition met
Waiting for deployment/openshift-gitops-server state to be condition=Available...
deployment.apps/openshift-gitops-server condition met

Restart the application-controller to start the sync
pod "openshift-gitops-application-controller-0" deleted
Checking status of all openshift-gitops pods
Waiting for deployment/cluster state to be condition=Available...
deployment.apps/cluster condition met
Waiting for deployment/kam state to be condition=Available...
deployment.apps/kam condition met
Waiting for statefulset/openshift-gitops-application-controller state to be jsonpath={.status.readyReplicas}=1...
pod/openshift-gitops-application-controller-0 condition met
Waiting for deployment/openshift-gitops-applicationset-controller state to be condition=Available...
deployment.apps/openshift-gitops-applicationset-controller condition met
Waiting for deployment/openshift-gitops-redis state to be condition=Available...
deployment.apps/openshift-gitops-redis condition met
Waiting for deployment/openshift-gitops-repo-server state to be condition=Available...
deployment.apps/openshift-gitops-repo-server condition met
Waiting for deployment/openshift-gitops-server state to be condition=Available...
deployment.apps/openshift-gitops-server condition met

GitOps has successfully deployed!  Check the status of the sync here:
https://openshift-gitops-server-openshift-gitops.apps.cluster-f682c.f682c.sandbox618.opentlc.com
image
strangiato commented 1 month ago

Love the screenshots helping to verify the completed deployment btw!