Skip to content

Commit 503ecd4

Browse files
committed
latest
1 parent 5c2acb0 commit 503ecd4

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

Deployment/simple-deployment-privileged.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ spec:
1919
command:
2020
- /bin/sh
2121
- -c
22-
#- export A=$(echo $POD_IP | tr '.' '-' | sed 's/$/.q-connector.pod.cluster.local/g') && echo ${A}
22+
# - export A=$(echo $POD_IP | tr '.' '-' | sed 's/$/.q-connector.pod.cluster.local/g') && echo ${A}
2323
- sleep 3600
24-
#securityContext:
25-
# capabilities:
26-
# add:
27-
# - CAP_SYS_ADMIN
24+
# securityContext:
25+
# capabilities:
26+
# add:
27+
# - CAP_SYS_ADMIN

HorizontalPodAutoscaler/simple.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ spec:
1616
- name: hpa-simple-deployment
1717
image: registry.k8s.io/hpa-example
1818
ports:
19-
- containerPort: 80
20-
resources:
21-
limits:
22-
cpu: 500m
23-
requests:
24-
cpu: 200m
19+
- containerPort: 80
20+
resources:
21+
limits:
22+
cpu: 500m
23+
requests:
24+
cpu: 200m
2525
---
2626
apiVersion: v1
2727
kind: Service
@@ -32,8 +32,8 @@ metadata:
3232
spec:
3333
ports:
3434
- port: 80
35-
selector:
36-
run: hpa-simple-service
35+
selector:
36+
run: hpa-simple-service
3737
---
3838
apiVersion: autoscaling/v2
3939
kind: HorizontalPodAutoscaler

0 commit comments

Comments
 (0)