Add example steps (#10)

This commit is contained in:
Misha Bragin
2025-03-06 15:32:17 +01:00
committed by GitHub
parent b8b268e2f9
commit f147b33665
3 changed files with 38 additions and 16 deletions
+8 -7
View File
@@ -2,14 +2,14 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: test
name: test
app: nginx
name: nginx
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: test
app: nginx
strategy:
rollingUpdate:
maxSurge: 25%
@@ -18,7 +18,7 @@ spec:
template:
metadata:
labels:
app: test
app: nginx
spec:
containers:
- image: nginx
@@ -32,9 +32,10 @@ metadata:
netbird.io/expose: "true"
netbird.io/policy: default
netbird.io/resource-name: nginx
netbird.io/groups: nginx-k8s-gke
labels:
app: test
name: test
app: nginx
name: nginx
namespace: default
spec:
ports:
@@ -43,5 +44,5 @@ spec:
protocol: TCP
targetPort: 80
selector:
app: test
app: nginx
type: ClusterIP