Service to Service Communication
3.4 Service to Service Communication
Service to Service Communication
Step1: Deploy the backend of the Application
kubectl apply -f 1-backend-deployment.yamlStep2: Verify the deployment
kubectl describe deployment helloStep3: Deploy the backend Service
kubectl apply -f 2-backend-service.yamlStep4: Verify the Service
kubectl describe service helloStep5: Deploy the Frontend Application
kubectl apply -f 3-frontend-deployment.yamlStep6: Deploy the Frontend Service
kubectl apply -f 4-frontend-service.yamlStep7: Send traffic to the frontend service and verify weather we are able to access backend
kubectl get pods -o wideStep8: Browse the Node IP with the above mentioned port
You should be able to see the webpage loaded
Clear Pods, Deployments, Services
Delete all Pods
Delete all Deployments
Delete all Services
Clear Everything in the current namespace
Last updated
Was this helpful?