3 changed files with 52 additions and 28 deletions
@ -0,0 +1,22 @@
|
||||
apiVersion: v1 |
||||
kind: ReplicationController |
||||
metadata: |
||||
name: replicatedapp |
||||
spec: |
||||
replicas: 100 |
||||
selector: |
||||
app: exportedapp |
||||
template: |
||||
metadata: |
||||
name: podapp |
||||
annotations: |
||||
prometheus.io/scrape: "true" |
||||
prometheus.io/port: "8081" |
||||
labels: |
||||
app: exportedapp |
||||
spec: |
||||
containers: |
||||
- name: challenge |
||||
image: beorn7/syseng-challenge |
||||
ports: |
||||
- containerPort: 8080 |
||||
Loading…
Reference in new issue