code-server/Kubernetes/code-server-scv.yaml

14 lines
228 B
YAML

kind: Service
apiVersion: v1
metadata:
name: code-server-svc
namespace: default
spec:
selector:
app: code-server
type: ClusterIP
ports:
- protocol: TCP
name: code-server-main
port: 80
targetPort: 8080