Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id": "elasticsearch",
- "kind": "Pod",
- "apiVersion": "v1beta1",
- "desiredState": {
- "manifest": {
- "version": "v1beta1",
- "id": "elasticsearch",
- "containers": [
- {
- "name": "elasticsearch",
- "image": "dockerfile/elasticsearch",
- "command": [
- "/elasticsearch/bin/elasticsearch -Des.config=/data/elasticsearch.json"
- ],
- "ports": [
- {"containerPort": 9200, "hostPort": 9200},
- {"containerPort": 9300, "hostPort": 9300}
- ],
- "volumeMounts": [{
- "name": "elasticsearch-persistent-storage",
- "mountPath": "/data"
- }]
- }
- ],
- "volumes": [{
- "name": "elasticsearch-persistent-storage",
- "source": {
- "hostDir": {
- "path": "/home/core/share"
- }
- }
- }]
- }
- },
- "labels":{
- "app": "elasticsearch"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement