Challenge: Troubleshooting Further in Kubernetes

Challenge yourself to troubleshoot multi container and ingress issues in Kubernetes.

Problem 1: Resolving multi container issues

We’ve deployed the application below, but when we check our application status, there seem to be some issues. Rectify the issues and resolve them.

Press + to interact
apiVersion: apps/v1
kind: Deployment
metadata:
name: pod
spec:
replicas: 3
selector:
matchLabels:
app: pod
template:
metadata:
labels:
app: pod
spec:
containers:
- name: nginx-container1
image: nginx:1.21.3
ports:
- containerPort: 82
- name: nginx-container2
image: nginx:1.21.3
ports:
- containerPort: 81
...

Get hands-on with 1400+ tech skills courses.