Skip to content

Commit

Permalink
Add an extra goldpinger pod definition for experiment 2 in Kubernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker89 committed Aug 23, 2020
1 parent 0f07483 commit 6c2f75e
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions examples/kubernetes/goldpinger-chaos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
apiVersion: v1
kind: Pod
metadata:
name: goldpinger-chaos
namespace: default
labels:
app: goldpinger
chaos: absolutely
spec:
serviceAccount: "goldpinger-serviceaccount"
containers:
- name: goldpinger
image: docker.io/bloomberg/goldpinger:v3.0.0
env:
- name: REFRESH_INTERVAL
value: "2"
- name: HOST
value: "0.0.0.0"
- name: PORT
value: "9090"
- name: CLIENT_PORT_OVERRIDE
value: "8080"
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
ports:
- containerPort: 9090
name: http
- name: toxiproxy
image: docker.io/shopify/toxiproxy:2.1.4
ports:
- containerPort: 8474
name: toxiproxy-api
- containerPort: 8080
name: goldpinger
---
apiVersion: v1
kind: Service
metadata:
name: goldpinger-chaos
namespace: default
spec:
type: LoadBalancer
ports:
- port: 8474
name: toxiproxy-api
selector:
chaos: absolutely

0 comments on commit 6c2f75e

Please sign in to comment.