You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Pod to Pod communication with service name Should be followed with Ingress Resource to realise a dec

Summary

Instead of accessing IP which changes with deployment I would like to access pod deployment with service created which is not working in OCI OKE setup

Content

kubectl describe services kube-dns --namespace kube-system

 

Name:              kube-dns
Namespace:         kube-system
Labels:            addonmanager.kubernetes.io/mode=Reconcile
                   k8s-app=kube-dns
                   kubernetes.io/cluster-service=true
                   kubernetes.io/name=KubeDNS
Annotations:       kubectl.kubernetes.io/last-applied-configuration:
                     {"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"addonmanager.kubernetes.io/mode":"Reconcile","k8s-app":"kube-d...
Selector:          k8s-app=kube-dns
Type:              ClusterIP
IP:                10.96.5.5
Port:              dns  53/UDP
TargetPort:        53/UDP
Endpoints:         10.244.1.21:53,10.244.1.23:53
Port:              dns-tcp  53/TCP
TargetPort:        53/TCP
Endpoints:         10.244.1.21:53,10.244.1.23:53
Session Affinity:  None
Events:            <none>
[opc@test ~]$

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!