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**
|
||||
|
||||
```
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: weedmasterdeployment
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: haystack
|
||||
template: # create pods using pod definition in this template
|
||||
metadata:
|
||||
labels:
|
||||
|
@ -88,11 +91,14 @@ spec:
|
|||
**Create volume POD**
|
||||
|
||||
```
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: weedvolumedeployment
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: haystack
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
|
Loading…
Reference in a new issue