mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Some amendments that make things work on current versions of Kubernetes.
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:
|
||||||
|
|
Loading…
Reference in a new issue