kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch17/lab/kube-explorer/05-service.yaml

12 lines
200 B
YAML
Raw Permalink Normal View History

apiVersion: v1
kind: Service
metadata:
name: kube-explorer
namespace: kiamol-ch17-lab
spec:
ports:
- port: 8022
targetPort: http
selector:
app: kube-explorer
type: LoadBalancer