Skip to content

Commit d3f9873

Browse files
committed
fix(app): minor fixes (newline, commands)
1 parent 14a161a commit d3f9873

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

app/daemon.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ spec:
1414
- name: webserver
1515
image: nginx
1616
ports:
17-
- containerPort: 80
17+
- containerPort: 80

app/hpa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ spec:
1111
apiVersion: apps/v1beta1
1212
kind: Deployment
1313
name: training-deployment
14-
targetCPUUtilizationPercentage: 10
14+
targetCPUUtilizationPercentage: 10

app/job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ spec:
1818
- name: job-done
1919
image: busybox
2020
command: ['sh', '-c', 'echo "job-1 and job-2 completed"']
21-
restartPolicy: Never
21+
restartPolicy: Never

app/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ spec:
99
- port: 3000
1010
protocol: TCP
1111
nodePort: 30001
12-
type: LoadBalancer
12+
type: LoadBalancer

commands.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ kubectl logs $pod logging-agent
2929
### hpa ###
3030
minikube addons enable heapster
3131
minikube addons list
32-
(minikube addons open heapster)
32+
# minikube addons open heapster
3333
kubectl create -f ./hpa.yaml
3434
# wait a couple of minutes until you see TARGETS 0%/50% on the next command
3535
kubectl get hpa
3636
kubectl run -i --tty load-generator --image=busybox /bin/sh
37-
while true; do wget -q -O- http://http://192.168.99.100:30001/; done
37+
while true; do wget -q -O- http://192.168.99.100:30001/; done
3838
# wait a couple of minutes
3939
kubectl get hpa
4040

0 commit comments

Comments
 (0)