@ -0,0 +1,15 @@
kind: Service
apiVersion: v1
metadata:
name: dashboard-lb
labels:
k8s-app: kubernetes-dashboard
spec:
ports:
- protocol: TCP
port: 8443
targetPort: 8443
nodePort: 30063
type: LoadBalancer
selector:
@ -0,0 +1,12 @@
kind: Pod
name: nginx
app: nginx
containers:
- name: nginx
image: nginx
- containerPort: 80