Skip to content

Commit

Permalink
Update k8s api versions
Browse files Browse the repository at this point in the history
Needed for new kubernetes/Openshift versions
  • Loading branch information
mulbc committed May 29, 2020
1 parent 15009aa commit b8c0fc4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions k8s/gosbench.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,17 @@ spec:
- containerPort: 8888
restartPolicy: Never
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: gosbench-server
labels:
app: gosbench
spec:
replicas: 1
selector:
matchLabels:
app: gosbench
template:
metadata:
labels:
Expand Down Expand Up @@ -176,4 +179,4 @@ spec:
targetPort: 8888
selector:
job-name: worker2
...
...
7 changes: 5 additions & 2 deletions k8s/monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,17 @@ metadata:
app: gosbench-monitoring
type: grafana
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: monitoring
labels:
app: gosbench-monitoring
spec:
replicas: 1
selector:
matchLabels:
app: gosbench-monitoring
template:
metadata:
labels:
Expand Down Expand Up @@ -204,4 +207,4 @@ metadata:
labels:
app: gosbench-monitoring
type: grafana
...
...

0 comments on commit b8c0fc4

Please sign in to comment.