apiVersion: apps/v1 kind: Deployment metadata: labels: app: test name: test namespace: default spec: replicas: 1 selector: matchLabels: app: test strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: labels: app: test spec: containers: - image: nginx imagePullPolicy: Always name: nginx --- apiVersion: v1 kind: Service metadata: annotations: netbird.io/expose: "true" netbird.io/policy: default netbird.io/resource-name: nginx labels: app: test name: test namespace: default spec: ports: - name: http port: 80 protocol: TCP targetPort: 80 selector: app: test type: ClusterIP