Skip to content

Instantly share code, notes, and snippets.

@vfarcic
Created March 6, 2025 16:55
Show Gist options
  • Save vfarcic/5b56553839a2d90e2337e3516f3be04f to your computer and use it in GitHub Desktop.
Save vfarcic/5b56553839a2d90e2337e3516f3be04f to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"v1","kind":"Service","metadata":{"labels":{"app.kubernetes.io/name":"silly-demo"},"name":"silly-demo","namespace":"staging"},"spec":{"ports":[{"name":"http","port":8080,"protocol":"TCP","targetPort":8080}],"selector":{"app.kubernetes.io/name":"silly-demo"},"type":"ClusterIP"}}'
creationTimestamp: "2025-03-06T15:33:29Z"
labels:
app.kubernetes.io/name: silly-demo
name: silly-demo
namespace: staging
resourceVersion: "37401"
uid: 6817bd44-85e0-4fea-9463-55677f385166
spec:
clusterIP: 34.118.231.243
clusterIPs:
- 34.118.231.243
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- name: http
port: 8080
protocol: TCP
targetPort: 8080
selector:
app.kubernetes.io/name: silly-demo
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment