Here is a simple example of how to create a kubernetes deployment out of a yaml file. The file can then be applied with kubectl apply -f client.yaml. To verify the pod being started, just run kubectl get pod -l app=client.
Monthly Archives: March 2019
Get first N characters of a string in bash
Accessing a port on a pod
With kubectl, you can just forward a specific port of some pod to your local machine. So you can test the pod. A simple example: