Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# hpa.yaml
apiVersion: autoscaling/v2beta2
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: php-apache
Expand Down Expand Up @@ -46,4 +46,4 @@ spec:
# selector: "queue=worker_tasks"
# target:
# type: AverageValue
# averageValue: 30
# averageValue: 30
7 changes: 3 additions & 4 deletions virtual-node/virtual-node.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# virtual-node.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: aci-helloworld
spec:
replicas: 10
replicas: 1
selector:
matchLabels:
app: aci-helloworld
Expand All @@ -15,7 +14,7 @@ spec:
spec:
containers:
- name: aci-helloworld
image: microsoft/aci-helloworld
image: mcr.microsoft.com/azuredocs/aci-helloworld
ports:
- containerPort: 80
nodeSelector:
Expand All @@ -24,4 +23,4 @@ spec:
type: virtual-kubelet
tolerations:
- key: virtual-kubelet.io/provider
operator: Exists
operator: Exists