Kubernetes Service Manifest
Jump to navigation
Jump to search
External
Internal
Example
apiVersion: v1 kind: Service metadata: name: blue labels: size: large spec: type: ClusterIP selector: app: blue # Label selector, the service is looking for pods with the label "app=blue" ports: - port: 8080 targetPort: protocol: TP