A Virtual appliance based on Photon OS v4 containing Docker, Kind, Kubectl, Kustomize, Helm and Skaffold.
You can use this OVA to deploy your on VM for then do the cources from the kube.academy.
This Photon OS node is build to be used with the Kubeacademy course Building Applications for Kubernetes.
The node has all the software you need to install discribed in the Lessons nr 2 Setting Up Your Workstation.
Enjoy!
Rafael
I getting some reports that the OVA not always work. Also that people what to use another Linux OS than Photon OS. Don't worry!
You can use my script installing_all_from_scratch.sh to prepare your own Linux node to be used for the course.
The skript will install for you: helm, kind, kubectl, kubeseal, kustomize and skaffold
.
If you go that way then feel free to skip the rest of the documentation here!
The root account is enabled to login via ssh and the password is <VMwareVM1!> .
You can find help and instruction to deploy a Virtual Machine from an OVA file here.
- Instruction for VMware vSphere 7.
- Instruction for VMware Workstation.
- Instruction for VMware Fusion.
- Instruction for VirtualBox.
Since 1.14, Kubectl also supports the management of Kubernetes objects using a kustomization file.
kubectl kustomize <kustomization_directory>
To apply those Resources, run kubectl apply with --kustomize or -k flag:
kubectl apply -k <kustomization_directory>
Delete
kubectl delete -k overlays/production
General Debug, Inspection To run crashcart pod in default namespace of K8s cluster:
$ kubectl create -f https://github.com/lander2k2/crashcart/raw/master/crashcart-po.yaml
$ kubectl exec -it crashcart bash
You may need the Kubeseal client and if you not found it by using the tdnf
tool, then you can use this installation procedure.
$ curl -k -L https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.20.2/kubeseal-0.20.2-linux-amd64.tar.gz -o kubeseal-0.20.2-linux-amd64.tar.gz
$ tar -xvzf kubeseal-0.20.2-linux-amd64.tar.gz kubeseal
$ install -m 755 kubeseal /usr/local/bin/kubeseal