Some amendments that make things work on current versions of Kubernetes.

Daniel Owen van Dommelen 2022-06-12 04:30:13 +02:00
parent 27fdb9e518
commit 07c543d84b

@ -60,11 +60,14 @@ In order to deploy the docker image onto minikube in form of "pods" and "service
**Create master POD** **Create master POD**
``` ```
apiVersion: extensions/v1beta1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: weedmasterdeployment name: weedmasterdeployment
spec: spec:
selector:
matchLabels:
app: haystack
template: # create pods using pod definition in this template template: # create pods using pod definition in this template
metadata: metadata:
labels: labels:
@ -88,11 +91,14 @@ spec:
**Create volume POD** **Create volume POD**
``` ```
apiVersion: extensions/v1beta1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: weedvolumedeployment name: weedvolumedeployment
spec: spec:
selector:
matchLabels:
app: haystack
template: template:
metadata: metadata:
labels: labels: