16 lines
285 B
YAML
16 lines
285 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: kube-ui
|
|
namespace: kube-system
|
|
labels:
|
|
k8s-app: kube-ui
|
|
kubernetes.io/cluster-service: "true"
|
|
kubernetes.io/name: "KubeUI"
|
|
spec:
|
|
type: NodePort
|
|
selector:
|
|
k8s-app: kube-ui
|
|
ports:
|
|
- port: 80
|
|
targetPort: 8080
|