Add service and namespace

This commit is contained in:
2025-01-26 18:17:53 +00:00
parent e50c8f29c1
commit 49b2eeaebe
3 changed files with 4 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: samba name: samba
namespace: kube-system
labels: labels:
app: samba app: samba
spec: spec:

View File

@@ -1,4 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- deployment.yaml - deployment.yaml
- service.yaml

View File

@@ -2,6 +2,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: samba name: samba
namespace: kube-system
spec: spec:
type: NodePort type: NodePort
selector: selector: