-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathkconfig.yml
39 lines (39 loc) · 877 Bytes
/
kconfig.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: aks-example-octozen
spec:
replicas: 1
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
minReadySeconds: 5
template:
metadata:
labels:
app: aks-example-octozen
spec:
containers:
- name: aks-example-octozen
# Replace $ACR_LOGIN_SERVER with your ACR login server name from:
# az acr list --resource-group $RESOURCE_GROUP --query "[].{acrLoginServer:loginServer}" --output table
image: $ACR_LOGIN_SERVER/aks-example-octozen:v1
ports:
- containerPort: 80
resources:
requests:
cpu: 250m
limits:
cpu: 500m
---
apiVersion: v1
kind: Service
metadata:
name: aks-example-octozen
spec:
type: LoadBalancer
ports:
- port: 80
selector:
app: aks-example-octozen