Created
September 2, 2015 19:55
-
-
Save bketelsen/e48a61de3f2f026e6b2b to your computer and use it in GitHub Desktop.
Run fabric8 in k8s cluster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "apiVersion" : "v1", | |
| "items" : [ { | |
| "apiVersion" : "v1", | |
| "kind" : "Service", | |
| "metadata" : { | |
| "annotations" : { }, | |
| "labels" : { | |
| "component" : "console", | |
| "provider" : "fabric8" | |
| }, | |
| "name" : "fabric8" | |
| }, | |
| "spec" : { | |
| "deprecatedPublicIPs" : [ ], | |
| "ports" : [ { | |
| "port" : 80, | |
| "protocol" : "TCP", | |
| "targetPort" : 9090, | |
| "nodePort": 30080 | |
| } ], | |
| "selector" : { | |
| "component" : "console", | |
| "provider" : "fabric8" | |
| }, | |
| "type": "NodePort" | |
| } | |
| }, { | |
| "apiVersion" : "v1", | |
| "kind" : "Service", | |
| "metadata" : { | |
| "annotations" : { }, | |
| "labels" : { | |
| "component" : "templates", | |
| "provider" : "fabric8" | |
| }, | |
| "name" : "templates" | |
| }, | |
| "spec" : { | |
| "deprecatedPublicIPs" : [ ], | |
| "ports" : [ { | |
| "port" : 80, | |
| "protocol" : "TCP", | |
| "targetPort" : 8080 | |
| } ], | |
| "selector" : { | |
| "component" : "templates", | |
| "provider" : "fabric8" | |
| } | |
| } | |
| }, { | |
| "apiVersion" : "v1", | |
| "kind" : "ReplicationController", | |
| "metadata" : { | |
| "annotations" : { }, | |
| "labels" : { | |
| "component" : "console", | |
| "provider" : "fabric8" | |
| }, | |
| "name" : "fabric8" | |
| }, | |
| "spec" : { | |
| "replicas" : 1, | |
| "selector" : { | |
| "component" : "console", | |
| "provider" : "fabric8" | |
| }, | |
| "template" : { | |
| "metadata" : { | |
| "annotations" : { }, | |
| "labels" : { | |
| "component" : "console", | |
| "provider" : "fabric8" | |
| } | |
| }, | |
| "spec" : { | |
| "containers" : [ { | |
| "args" : [ ], | |
| "command" : [ ], | |
| "env" : [ { | |
| "name" : "OAUTH_PROVIDER", | |
| "value" : "basic" | |
| }, { | |
| "name" : "OAUTH_AUTHORIZE_URI", | |
| "value" : "https://vagrant.f8:8443/oauth/authorize" | |
| }, { | |
| "name" : "GOOGLE_OAUTH_CLIENT_SECRET", | |
| "value" : "" | |
| }, { | |
| "name" : "GOOGLE_OAUTH_REDIRECT_URI", | |
| "value" : "https://fabric8.vagrant.f8" | |
| }, { | |
| "name" : "OAUTH_CLIENT_ID", | |
| "value" : "fabric8" | |
| }, { | |
| "name" : "GOOGLE_OAUTH_AUTHENTICATION_URI", | |
| "value" : "https://accounts.google.com/o/oauth2/auth" | |
| }, { | |
| "name" : "GOOGLE_OAUTH_TOKEN_URL", | |
| "value" : "https://www.googleapis.com/oauth2/v3/token" | |
| }, { | |
| "name" : "GOOGLE_OAUTH_CLIENT_ID", | |
| "value" : "" | |
| }, { | |
| "name" : "GOOGLE_OAUTH_SCOPE", | |
| "value" : "profile" | |
| }, { | |
| "name" : "KUBERNETES_NAMESPACE", | |
| "valueFrom" : { | |
| "fieldRef" : { | |
| "fieldPath" : "metadata.namespace" | |
| } | |
| } | |
| } ], | |
| "image" : "docker.io/fabric8/fabric8-console:v1.0.25", | |
| "name" : "fabric8-container", | |
| "ports" : [ { | |
| "containerPort" : 9090, | |
| "name" : "http" | |
| } ], | |
| "securityContext" : { }, | |
| "volumeMounts" : [ ] | |
| } ], | |
| "imagePullSecrets" : [ ], | |
| "nodeSelector" : { }, | |
| "volumes" : [ ] | |
| } | |
| } | |
| } | |
| }, { | |
| "apiVersion" : "v1", | |
| "kind" : "ReplicationController", | |
| "metadata" : { | |
| "annotations" : { }, | |
| "labels" : { | |
| "component" : "templates", | |
| "provider" : "fabric8" | |
| }, | |
| "name" : "templates" | |
| }, | |
| "spec" : { | |
| "replicas" : 1, | |
| "selector" : { | |
| "component" : "templates", | |
| "provider" : "fabric8" | |
| }, | |
| "template" : { | |
| "metadata" : { | |
| "annotations" : { }, | |
| "labels" : { | |
| "component" : "templates", | |
| "provider" : "fabric8" | |
| } | |
| }, | |
| "spec" : { | |
| "containers" : [ { | |
| "args" : [ ], | |
| "command" : [ ], | |
| "env" : [ { | |
| "name" : "DATA_DIR", | |
| "value" : "/data/templates" | |
| }, { | |
| "name" : "KUBERNETES_NAMESPACE", | |
| "valueFrom" : { | |
| "fieldRef" : { | |
| "fieldPath" : "metadata.namespace" | |
| } | |
| } | |
| } ], | |
| "image" : "docker.io/fabric8/templates:2.2.16", | |
| "name" : "templates", | |
| "ports" : [ { | |
| "containerPort" : 8080, | |
| "name" : "http" | |
| }, { | |
| "containerPort" : 8778, | |
| "name" : "jolokia" | |
| } ], | |
| "securityContext" : { }, | |
| "volumeMounts" : [ { | |
| "mountPath" : "/data", | |
| "name" : "template-data", | |
| "readOnly" : false | |
| } ] | |
| } ], | |
| "imagePullSecrets" : [ ], | |
| "nodeSelector" : { }, | |
| "volumes" : [ { | |
| "gitRepo" : { | |
| "repository" : "https://github.com/fabric8io/templates.git", | |
| "revision" : "master" | |
| }, | |
| "name" : "template-data" | |
| } ] | |
| } | |
| } | |
| } | |
| } ], | |
| "kind" : "List" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment