olga-mir / k8s-multi-cluster

Experiments with multi cluster patterns
Apache License 2.0
7 stars 0 forks source link

Let's go Go!! :) #21

Closed olga-mir closed 8 months ago

olga-mir commented 9 months ago

Workload cluster-01 provisioning is working, although the app doesn't wait for it to be up and running.

% KUBECONFIG=cluster-01.config k get pod -A
NAMESPACE     NAME                                                                      READY   STATUS    RESTARTS   AGE
cilium        cilium-d2qgn                                                              1/1     Running   0          2m59s
cilium        cilium-k6nsq                                                              1/1     Running   0          3m58s
cilium        cilium-operator-654474c8c6-jkwx4                                          1/1     Running   0          3m58s
cilium        cilium-operator-654474c8c6-zvlkm                                          1/1     Running   0          3m58s
cilium        hubble-relay-69b687f7c9-54h2p                                             1/1     Running   0          3m58s
cilium        hubble-ui-5dc4d884b6-jcc8q                                                2/2     Running   0          3m58s
flux-system   helm-controller-f6b96f788-vkh6v                                           1/1     Running   0          3m36s
flux-system   kustomize-controller-5c4bf4459b-2g66v                                     1/1     Running   0          3m36s
flux-system   notification-controller-5646f6df46-lhm9g                                  1/1     Running   0          3m36s
flux-system   source-controller-6c8cc88c95-k7v4h                                        1/1     Running   0          3m35s
kube-system   coredns-565d847f94-8z4jq                                                  1/1     Running   0          4m5s
kube-system   coredns-565d847f94-pgfq6                                                  1/1     Running   0          4m5s
kube-system   etcd-ip-10-0-169-241.ap-southeast-2.compute.internal                      1/1     Running   0          4m4s
kube-system   kube-apiserver-ip-10-0-169-241.ap-southeast-2.compute.internal            1/1     Running   0          4m4s
kube-system   kube-controller-manager-ip-10-0-169-241.ap-southeast-2.compute.internal   1/1     Running   0          4m4s
kube-system   kube-scheduler-ip-10-0-169-241.ap-southeast-2.compute.internal            1/1     Running   0          4m4s
% k get clusters -A # this is on perm mgmt cluster
NAMESPACE      NAME           CLUSTERCLASS   PHASE         AGE     VERSION
cluster-01     cluster-01                    Provisioned   9m50s
cluster-mgmt   cluster-mgmt                  Provisioned   12m

flux on perm mgmt cluster:

 % flux get all -A        
NAMESPACE       NAME                            REVISION                SUSPENDED       READY   MESSAGE
flux-system     gitrepository/flux-system       develop@sha1:8146cf8f   False           True    stored artifact for revision 'develop@sha1:8146cf8f'

NAMESPACE       NAME                            REVISION                SUSPENDED       READY   MESSAGE
cluster-01      kustomization/caaph-cni         develop@sha1:8146cf8f   False           True    Applied revision: develop@sha1:8146cf8f
cluster-01      kustomization/flux-remote       develop@sha1:8146cf8f   False           True    Applied revision: develop@sha1:8146cf8f
flux-system     kustomization/caaph             develop@sha1:8146cf8f   False           True    Applied revision: develop@sha1:8146cf8f
flux-system     kustomization/flux-system       develop@sha1:8146cf8f   False           True    Applied revision: develop@sha1:8146cf8f