We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3907252 commit c965cecCopy full SHA for c965cec
kubernetes-1.yml
@@ -0,0 +1,36 @@
1
+apiVersion: apps/v1beta1
2
+kind: Deployment
3
+metadata:
4
+ name: kubernetessample
5
+spec:
6
+ replicas: 1
7
+ strategy:
8
+ rollingUpdate:
9
+ maxSurge: 1
10
+ maxUnavailable: 1
11
+ minReadySeconds: 5
12
+ template:
13
+ metadata:
14
+ labels:
15
+ app: kubernetessample
16
+ spec:
17
+ containers:
18
+ - name: pdtacr
19
+ image: pdtacr.azurecr.io/webvmsamplesitedocker:latest
20
+ ports:
21
+ - containerPort: 80
22
+ imagePullSecrets:
23
+ - name: acr-auth
24
+
25
26
+---
27
+apiVersion: v1
28
+kind: Service
29
30
31
32
+ type: LoadBalancer
33
34
+ - port: 80
35
+ selector:
36
0 commit comments