Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 31s
Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
231 B
YAML
16 lines
231 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: web-petting
|
|
labels:
|
|
app: web-petting
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app: web-petting
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
targetPort: 3000
|
|
protocol: TCP
|