Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "kind": "ServiceAccount",
- "apiVersion": "v1",
- "metadata": {
- "name": "pachyderm",
- "creationTimestamp": null,
- "labels": {
- "app": "",
- "suite": "pachyderm"
- }
- }
- }
- {
- "kind": "PersistentVolume",
- "apiVersion": "v1",
- "metadata": {
- "name": "rethink-volume-0",
- "creationTimestamp": null,
- "labels": {
- "app": "rethink-volume",
- "suite": "pachyderm-pps-storage"
- }
- },
- "spec": {
- "capacity": {
- "storage": "1Gi"
- },
- "hostPath": {
- "path": "/var/pachyderm/rethink-0"
- },
- "accessModes": [
- "ReadWriteOnce"
- ],
- "persistentVolumeReclaimPolicy": "Retain"
- },
- "status": {}
- }
- {
- "kind": "ReplicationController",
- "apiVersion": "v1",
- "metadata": {
- "name": "etcd",
- "creationTimestamp": null,
- "labels": {
- "app": "etcd",
- "suite": "pachyderm"
- }
- },
- "spec": {
- "replicas": 1,
- "selector": {
- "app": "etcd"
- },
- "template": {
- "metadata": {
- "name": "etcd",
- "creationTimestamp": null,
- "labels": {
- "app": "etcd",
- "suite": "pachyderm"
- }
- },
- "spec": {
- "volumes": [
- {
- "name": "etcd-storage",
- "hostPath": {
- "path": "/var/pachyderm/etcd"
- }
- }
- ],
- "containers": [
- {
- "name": "etcd",
- "image": "gcr.io/google_containers/etcd:2.0.12",
- "command": [
- "/usr/local/bin/etcd",
- "--bind-addr=0.0.0.0:2379",
- "--data-dir=/var/data/etcd"
- ],
- "ports": [
- {
- "name": "client-port",
- "containerPort": 2379
- },
- {
- "name": "peer-port",
- "containerPort": 2380
- }
- ],
- "resources": {},
- "volumeMounts": [
- {
- "name": "etcd-storage",
- "mountPath": "/var/data/etcd"
- }
- ],
- "imagePullPolicy": "IfNotPresent"
- }
- ]
- }
- }
- },
- "status": {
- "replicas": 0
- }
- }
- {
- "kind": "Service",
- "apiVersion": "v1",
- "metadata": {
- "name": "etcd",
- "creationTimestamp": null,
- "labels": {
- "app": "etcd",
- "suite": "pachyderm"
- }
- },
- "spec": {
- "ports": [
- {
- "name": "client-port",
- "port": 2379,
- "targetPort": 0
- },
- {
- "name": "peer-port",
- "port": 2380,
- "targetPort": 0
- }
- ],
- "selector": {
- "app": "etcd"
- }
- },
- "status": {
- "loadBalancer": {}
- }
- }
- {
- "kind": "Service",
- "apiVersion": "v1",
- "metadata": {
- "name": "rethink-service",
- "creationTimestamp": null,
- "labels": {
- "app": "rethink",
- "suite": "pachyderm"
- }
- },
- "spec": {
- "ports": [
- {
- "name": "admin-port",
- "port": 8080,
- "targetPort": 0,
- "nodePort": 32080
- },
- {
- "name": "driver-port",
- "port": 28015,
- "targetPort": 0,
- "nodePort": 32081
- },
- {
- "name": "cluster-port",
- "port": 29015,
- "targetPort": 0,
- "nodePort": 32082
- }
- ],
- "selector": {
- "app": "rethink",
- "suite": "pachyderm"
- },
- "type": "NodePort"
- },
- "status": {
- "loadBalancer": {}
- }
- }
- {
- "kind": "Service",
- "apiVersion": "v1",
- "metadata": {
- "name": "rethink-headless",
- "creationTimestamp": null,
- "labels": {
- "app": "rethink",
- "suite": "pachyderm"
- }
- },
- "spec": {
- "ports": null,
- "selector": {
- "app": "rethink",
- "suite": "pachyderm"
- },
- "clusterIP": "None"
- },
- "status": {
- "loadBalancer": {}
- }
- }
- {
- "apiVersion": "apps/v1alpha1",
- "kind": "PetSet",
- "metadata": {
- "creationTimestamp": null,
- "labels": {
- "app": "rethink",
- "suite": "pachyderm"
- },
- "name": "rethink"
- },
- "spec": {
- "replicas": 1,
- "selector": {
- "matchLabels": {
- "app": "rethink",
- "suite": "pachyderm"
- }
- },
- "serviceName": "rethink-service",
- "template": {
- "metadata": {
- "creationTimestamp": null,
- "labels": {
- "app": "rethink",
- "suite": "pachyderm"
- },
- "name": "rethink"
- },
- "spec": {
- "containers": [
- {
- "args": [
- "-d",
- "/var/rethinkdb/data",
- "--bind",
- "all",
- "--cache-size",
- "768"
- ],
- "command": [
- "rethinkdb"
- ],
- "image": "rethinkdb:2.3.3",
- "imagePullPolicy": "IfNotPresent",
- "name": "rethink",
- "ports": [
- {
- "containerPort": 8080,
- "name": "admin-port"
- },
- {
- "containerPort": 28015,
- "name": "driver-port"
- },
- {
- "containerPort": 29015,
- "name": "cluster-port"
- }
- ],
- "resources": {
- "requests": {
- "memory": "1024M"
- }
- },
- "volumeMounts": [
- {
- "mountPath": "/var/rethinkdb/",
- "name": "rethink-volume-claim"
- }
- ]
- }
- ]
- }
- },
- "volumeClaimTemplates": [
- {
- "metadata": {
- "labels": {
- "app": "rethink",
- "suite": "pachyderm"
- },
- "name": "rethink-volume-claim"
- },
- "spec": {
- "accessModes": [
- "ReadWriteOnce"
- ],
- "resources": {
- "requests": {
- "storage": "1Gi"
- }
- }
- }
- }
- ]
- }
- }
- {
- "kind": "Job",
- "apiVersion": "extensions/v1beta1",
- "metadata": {
- "name": "pachd-init",
- "creationTimestamp": null,
- "labels": {
- "app": "pachd-init",
- "suite": "pachyderm"
- }
- },
- "spec": {
- "selector": {
- "matchLabels": {
- "app": "pachd-init",
- "suite": "pachyderm"
- }
- },
- "template": {
- "metadata": {
- "name": "pachd-init",
- "creationTimestamp": null,
- "labels": {
- "app": "pachd-init",
- "suite": "pachyderm"
- }
- },
- "spec": {
- "containers": [
- {
- "name": "pachd-init",
- "image": "pachyderm/pachd:1.2.3-773a6a34fcc1c8f9cc2258b79b56cbff4742506f",
- "env": [
- {
- "name": "PACH_ROOT",
- "value": "/pach"
- },
- {
- "name": "INIT",
- "value": "true"
- }
- ],
- "resources": {},
- "imagePullPolicy": "IfNotPresent"
- }
- ],
- "restartPolicy": "OnFailure"
- }
- }
- },
- "status": {}
- }
- {
- "kind": "Service",
- "apiVersion": "v1",
- "metadata": {
- "name": "pachd",
- "creationTimestamp": null,
- "labels": {
- "app": "pachd",
- "suite": "pachyderm"
- }
- },
- "spec": {
- "ports": [
- {
- "name": "api-grpc-port",
- "port": 650,
- "targetPort": 0,
- "nodePort": 30650
- },
- {
- "name": "trace-port",
- "port": 651,
- "targetPort": 0,
- "nodePort": 30651
- }
- ],
- "selector": {
- "app": "pachd"
- },
- "type": "NodePort"
- },
- "status": {
- "loadBalancer": {}
- }
- }
- {
- "kind": "ReplicationController",
- "apiVersion": "v1",
- "metadata": {
- "name": "pachd",
- "creationTimestamp": null,
- "labels": {
- "app": "pachd",
- "suite": "pachyderm"
- }
- },
- "spec": {
- "replicas": 1,
- "selector": {
- "app": "pachd"
- },
- "template": {
- "metadata": {
- "name": "pachd",
- "creationTimestamp": null,
- "labels": {
- "app": "pachd",
- "suite": "pachyderm"
- }
- },
- "spec": {
- "volumes": [
- {
- "name": "pach-disk",
- "hostPath": {
- "path": "/var/pachyderm/pachd"
- }
- }
- ],
- "containers": [
- {
- "name": "pachd",
- "image": "pachyderm/pachd:1.2.3-773a6a34fcc1c8f9cc2258b79b56cbff4742506f",
- "ports": [
- {
- "name": "api-grpc-port",
- "containerPort": 650,
- "protocol": "TCP"
- },
- {
- "name": "trace-port",
- "containerPort": 651
- }
- ],
- "env": [
- {
- "name": "PACH_ROOT",
- "value": "/pach"
- },
- {
- "name": "NUM_SHARDS",
- "value": "1"
- },
- {
- "name": "STORAGE_BACKEND"
- },
- {
- "name": "PACHD_POD_NAMESPACE",
- "valueFrom": {
- "fieldRef": {
- "apiVersion": "v1",
- "fieldPath": "metadata.namespace"
- }
- }
- },
- {
- "name": "JOB_SHIM_IMAGE",
- "value": "pachyderm/job-shim:1.2.3-773a6a34fcc1c8f9cc2258b79b56cbff4742506f"
- },
- {
- "name": "JOB_IMAGE_PULL_POLICY",
- "value": "IfNotPresent"
- },
- {
- "name": "PACHD_VERSION",
- "value": "1.2.3-773a6a34fcc1c8f9cc2258b79b56cbff4742506f"
- },
- {
- "name": "METRICS",
- "value": "true"
- },
- {
- "name": "LOG_LEVEL",
- "value": "info"
- }
- ],
- "resources": {},
- "volumeMounts": [
- {
- "name": "pach-disk",
- "mountPath": "/pach"
- }
- ],
- "readinessProbe": {
- "exec": {
- "command": [
- "./pachd",
- "--readiness-check"
- ]
- },
- "initialDelaySeconds": 15,
- "timeoutSeconds": 1
- },
- "imagePullPolicy": "IfNotPresent",
- "securityContext": {
- "privileged": true
- }
- }
- ],
- "serviceAccountName": "pachyderm"
- }
- }
- },
- "status": {
- "replicas": 0
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement