Viewing the Service Details
To view service summary, use the following command.
kubectl get svc -n
amf_namespace
Sample Output:
kubectl get svc -n amf-ins1
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
alert-frwd-ops-center ClusterIP 209.165.202.130 <none> 8080/TCP 29d
amf-gosctp-lb ClusterIP 209.165.202.140 <none> 7084/TCP 36h
amf-nrf-service ClusterIP 209.165.202.151 209.165.200.241 9090/TCP 36h
amf-protocol-ep ClusterIP 209.165.202.142 <none> 9003/TCP,8080/TCP 36h
amf-rest-ep ClusterIP 209.165.202.145 <none> 9003/TCP,8080/TCP,9201/TCP 36h
amf-sbi-service ClusterIP 209.165.202.156 209.165.200.241 8070/TCP 36h
amf-service ClusterIP 209.165.202.144 <none> 9003/TCP,8080/TCP 36h
base-entitlement-amf ClusterIP 209.165.202.137 <none> 8000/TCP 29d
bgpspeaker-pod ClusterIP 209.165.202.154 <none> 9008/TCP,7001/TCP,8879/TCP 36h
datastore-notification-ep ClusterIP 209.165.202.135 209.165.200.240 8012/TCP 36h
documentation ClusterIP 209.165.202.134 <none> 8080/TCP 29d
etcd ClusterIP None <none> 2379/TCP,7070/TCP 36h
etcd-amf-ins1-etcd-cluster-0 ClusterIP 209.165.202.143 <none> 2380/TCP,2379/TCP 36h
etcd-amf-ins1-etcd-cluster-1 ClusterIP 209.165.202.139 <none> 2380/TCP,2379/TCP 36h
etcd-amf-ins1-etcd-cluster-2 ClusterIP 209.165.202.131 <none> 2380/TCP,2379/TCP 36h
grafana-dashboard-amf ClusterIP 209.165.202.138 <none> 9418/TCP 36h
grafana-dashboard-app-infra-amf-ins1 ClusterIP 209.165.202.133 <none> 9418/TCP 36h
grafana-dashboard-etcd-amf-ins1 ClusterIP 209.165.202.141 <none> 9418/TCP 36h
gtpc-ep ClusterIP 209.165.202.149 <none> 9003/TCP,8080/TCP 36h
ldap-proxy-amf-ins1-oam-pod ClusterIP 209.165.202.132 <none> 636/TCP,389/TCP 36h
li-ep ClusterIP 209.165.202.150 <none> 9003/TCP,8080/TCP 36h
local-ldap-proxy-amf-ins1-ops-center ClusterIP 209.165.202.148 <none> 636/TCP,369/TCP 29d
netconf-ops-center-amf-ins1-ops-center ClusterIP 209.165.202.155 209.165.200.231 2024/TCP 29d
nodemgr ClusterIP 209.165.202.153 <none> 9003/TCP,8884/TCP,8879/TCP,9201/TCP,8080/TCP 36h
oam-pod ClusterIP 209.165.202.147 <none> 9008/TCP,7001/TCP,8879/TCP,10080/TCP,8080/TCP 36h
ops-center-amf-ins1-ops-center ClusterIP 209.165.202.152 <none> 8008/TCP,8080/TCP,2024/TCP,2022/TCP,7681/TCP 29d
prometheus-rules-etcd ClusterIP None <none> 9419/TCP 36h
smart-agent-amf-ins1-ops-center ClusterIP 209.165.202.129 <none> 8888/TCP 29d
ssh-ops-center-amf-ins1-ops-center ClusterIP 209.165.202.136 209.165.200.231 2025/TCP 29d
To view the comprehensive service details, use the following command.
kubectl get svc -n
amf_namespace service_name
-o yaml
Sample Output:
kubectl get svc amf-rest-ep -n amf-ins1 -o yaml
apiVersion: v1
kind: Service
metadata:
annotations:
meta.helm.sh/release-name: amf-ins1-amf-rest-ep
meta.helm.sh/release-namespace: amf-ins1
creationTimestamp: "2021-10-16T18:00:23Z"
labels:
app: amf-rest-ep
app.kubernetes.io/managed-by: Helm
chart: amf-rest-ep-0.1.0-main-2464-211014124230-2d34ce7
component: amf-rest-ep
heritage: Helm
release: amf-ins1-amf-rest-ep
name: amf-rest-ep
namespace: amf-ins1
resourceVersion: "5768444"
uid: 65cb4204-8914-4b71-aa3c-809238dd755e
spec:
clusterIP: 209.165.202.145
clusterIPs:
- 209.165.202.145
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- name: grpc
port: 9003
protocol: TCP
targetPort: 9003
- name: metrics
port: 8080
protocol: TCP
targetPort: 8080
- name: nrfrestep
port: 9201
protocol: TCP
targetPort: 9201
selector:
component: amf-rest-ep
release: amf-ins1-amf-rest-ep
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}