Create an App. Let’s run our first app on Kubernetes with the kubectl create deployment command. … Explore the App. We’ll use the kubectl get command and look for existing Pods: … Expose the Service. … Scaling the App. … Perform a Rolling Update.
How do you test a Kubernetes deployment?
- Create an App. Let’s run our first app on Kubernetes with the kubectl create deployment command. …
- Explore the App. We’ll use the kubectl get command and look for existing Pods: …
- Expose the Service. …
- Scaling the App. …
- Perform a Rolling Update.
How do you test Kubernetes services?
- Step 1: Check if the Service Exists. …
- Step 2: Test Your Service. …
- Step 3: Check if the Service Is Actually Targeting Relevant Pods. …
- Step 4: Check Pod Labels. …
- Step 5: Confirm That Service Ports Match Your Pod.