Deploy the Distribution

Deploy the Kubernetes Fury Distribution to a Kubernetes Cluster

3 minute read

This is the easiest part. Be sure you have carefully read the setup section along with all the possible customization options before continuing with the distribution’s deployment.

Deploying it

If you have followed all the instructions of the installation section of the guide so far, you are now in conditions of creating all the resources' definitions, that make the Kubernetes Fury Distribution. Let’s verify this by executing the following command:

Please note that this command will just print the resources definitions to your screen, it won’t create anything on your cluster.

$ kustomize build manifests
# Omitted output

If the previous command succeeds, you are now ready to deploy the resources definitions of the Kubernetes Fury Distribution to your cluster. Let’s do that by running the following command:

$ kustomize build manifests | kubectl apply -f -

If the apply command fails at first try after creating some resources, apply it again after a couple of minutes until no error message appears. This is caused by some race conditions related to custom resource definitions (CRD) registration.

After a while, all the PODs' status should become “Running”. You can check running the following command:

Tip: you can run the same command using the watch tool to refresh the output every second, like this: watch kubectl get pods -A

$ kubectl get pods -A
NAMESPACE            NAME                                                                 READY   STATUS      RESTARTS   AGE
cert-manager         cert-manager-b4767cd87-cc4fk                                         1/1     Running     0          5m24s
cert-manager         cert-manager-cainjector-7cff7c9699-8qlnx                             1/1     Running     0          5m24s
cert-manager         cert-manager-webhook-6665ff6ddd-scxlc                                1/1     Running     0          5m23s
gatekeeper-system    gatekeeper-audit-7d64cc45df-pblf4                                    1/1     Running     0          5m23s
gatekeeper-system    gatekeeper-controller-manager-6999845cc9-f9fb8                       1/1     Running     0          5m23s
gatekeeper-system    gatekeeper-controller-manager-6999845cc9-lq8dx                       1/1     Running     0          5m23s
gatekeeper-system    gatekeeper-controller-manager-6999845cc9-nlhhd                       1/1     Running     0          5m23s
gatekeeper-system    gatekeeper-policy-manager-7bfd5dbdd4-ntvdn                           1/1     Running     0          5m23s
ingress-nginx        forecastle-f66cc877f-dzqnl                                           1/1     Running     0          5m23s
ingress-nginx        nginx-ingress-controller-9spmh                                       1/1     Running     0          4m58s
ingress-nginx        nginx-ingress-controller-ctf97                                       1/1     Running     0          4m59s
ingress-nginx        nginx-ingress-controller-vx8hn                                       1/1     Running     0          5m
kube-system          calico-kube-controllers-7c6869b847-nvv89                             1/1     Running     0          5m23s
kube-system          calico-node-4hmbv                                                    1/1     Running     0          5m22s
kube-system          calico-node-58lxc                                                    1/1     Running     0          5m22s
kube-system          calico-node-9gcmc                                                    1/1     Running     0          5m22s
kube-system          calico-node-zv9vt                                                    1/1     Running     0          5m22s
kube-system          coredns-558bd4d5db-2j7mk                                             1/1     Running     0          46m
kube-system          coredns-558bd4d5db-lnrvg                                             1/1     Running     0          46m
kube-system          etcd-ip-172-31-33-70.eu-west-1.compute.internal                      1/1     Running     0          47m
kube-system          kube-apiserver-ip-172-31-33-70.eu-west-1.compute.internal            1/1     Running     0          47m
kube-system          kube-controller-manager-ip-172-31-33-70.eu-west-1.compute.internal   1/1     Running     0          47m
kube-system          kube-proxy-6m72n                                                     1/1     Running     0          46m
kube-system          kube-proxy-hwwww                                                     1/1     Running     0          46m
kube-system          kube-proxy-vnhwx                                                     1/1     Running     0          46m
kube-system          kube-proxy-w55nz                                                     1/1     Running     0          46m
kube-system          kube-scheduler-ip-172-31-33-70.eu-west-1.compute.internal            1/1     Running     0          47m
kube-system          metrics-server-5dd7c59cfd-bgwg9                                      1/1     Running     0          5m23s
kube-system          minio-0                                                              1/1     Running     0          5m23s
kube-system          minio-setup-wdlqn                                                    0/1     Completed   0          5m22s
kube-system          velero-85bb6fbbc6-5lwqc                                              1/1     Running     0          5m23s
kube-system          velero-restic-8mxk7                                                  1/1     Running     0          5m
kube-system          velero-restic-dz2jq                                                  1/1     Running     0          4m58s
kube-system          velero-restic-wwqck                                                  1/1     Running     0          4m59s
local-path-storage   local-path-provisioner-64bb9787d9-znd8l                              1/1     Running     0          46m
logging              cerebro-578676bc6b-5lsgp                                             1/1     Running     0          5m23s
logging              elasticsearch-0                                                      2/2     Running     0          5m23s
logging              fluentbit-69rpt                                                      1/1     Running     0          5m22s
logging              fluentbit-8l6k4                                                      1/1     Running     0          5m22s
logging              fluentbit-nnl6k                                                      1/1     Running     0          5m22s
logging              fluentbit-vgv8d                                                      1/1     Running     1          5m22s
logging              fluentd-0                                                            1/1     Running     1          5m23s
logging              fluentd-1                                                            1/1     Running     0          3m6s
logging              fluentd-2                                                            1/1     Running     0          2m32s
logging              kibana-7fd6f6897c-nwtj6                                              1/1     Running     0          5m22s
monitoring           goldpinger-2mqkr                                                     1/1     Running     0          5m22s
monitoring           goldpinger-bdznq                                                     1/1     Running     0          5m22s
monitoring           goldpinger-mn6gs                                                     1/1     Running     0          5m22s
monitoring           goldpinger-znl9d                                                     1/1     Running     0          5m22s
monitoring           grafana-5df78cd97-ssdzp                                              2/2     Running     0          5m22s
monitoring           kube-proxy-metrics-78zk2                                             1/1     Running     0          5m22s
monitoring           kube-proxy-metrics-7kzqc                                             1/1     Running     0          5m22s
monitoring           kube-proxy-metrics-9bfsf                                             1/1     Running     0          5m22s
monitoring           kube-proxy-metrics-frbxv                                             1/1     Running     0          5m22s
monitoring           kube-state-metrics-7657b8f59c-gszlx                                  1/1     Running     0          5m22s
monitoring           node-exporter-449p8                                                  2/2     Running     0          5m22s
monitoring           node-exporter-6spbq                                                  2/2     Running     0          5m22s
monitoring           node-exporter-d8nt9                                                  2/2     Running     0          5m22s
monitoring           node-exporter-zf4lz                                                  2/2     Running     0          5m20s
monitoring           prometheus-k8s-0                                                     2/2     Running     1          4m9s
monitoring           prometheus-operator-654d5c5468-g4tdz                                 1/1     Running     0          5m22s

The output could be slightly different from yours depending on the customization you apply to the kustomize project.

Congratulations! You have now a production-grade Kubernetes Cluster thanks to Kubernetes Fury Distribution.