Skip to content

Instantly share code, notes, and snippets.

@hasbro17
Created June 19, 2017 21:52
Show Gist options
  • Save hasbro17/c223c38559f1a63fb109745333b653c5 to your computer and use it in GitHub Desktop.
Save hasbro17/c223c38559f1a63fb109745333b653c5 to your computer and use it in GitHub Desktop.
{
"version": "1.6.4-tectonic.1",
"deployments": [
{
"apiVersion": "extensions/v1beta1",
"kind": "Deployment",
"metadata": {
"labels": {
"k8s-app": "tectonic-channel-operator",
"managed-by-channel-operator": "true"
},
"name": "tectonic-channel-operator",
"namespace": "tectonic-system"
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"k8s-app": "tectonic-channel-operator"
}
},
"template": {
"metadata": {
"labels": {
"k8s-app": "tectonic-channel-operator",
"tectonic-app-version-name": "tectonic-cluster"
}
},
"spec": {
"containers": [
{
"env": [
{
"name": "CLUSTER_ID",
"valueFrom": {
"configMapKeyRef": {
"key": "clusterID",
"name": "tectonic-config"
}
}
}
],
"image": "quay.io/coreos/tectonic-channel-operator:0.3.4",
"name": "tectonic-channel-operator",
"resources": {
"limits": {
"cpu": "20m",
"memory": "50Mi"
},
"requests": {
"cpu": "20m",
"memory": "50Mi"
}
},
"volumeMounts": [
{
"mountPath": "/etc/ssl/certs",
"name": "certs"
}
]
}
],
"imagePullSecrets": [
{
"name": "coreos-pull-secret"
}
],
"restartPolicy": "Always",
"securityContext": {
"runAsNonRoot": true,
"runAsUser": 65534
},
"volumes": [
{
"hostPath": {
"path": "/usr/share/ca-certificates"
},
"name": "certs"
}
]
}
}
}
},
{
"apiVersion": "extensions/v1beta1",
"kind": "Deployment",
"metadata": {
"labels": {
"k8s-app": "kube-version-operator",
"managed-by-channel-operator": "true"
},
"name": "kube-version-operator",
"namespace": "tectonic-system"
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"k8s-app": "kube-version-operator"
}
},
"template": {
"metadata": {
"labels": {
"k8s-app": "kube-version-operator",
"tectonic-app-version-name": "kubernetes"
}
},
"spec": {
"containers": [
{
"command": [
"/kube-version-operator",
"--cache-images=true",
"--version-mapping=/upgrade-spec.json"
],
"image": "quay.io/coreos/kube-version-operator:v1.6.4-kvo.3",
"name": "kube-version-operator"
}
],
"imagePullSecrets": [
{
"name": "coreos-pull-secret"
}
],
"securityContext": {
"runAsNonRoot": true,
"runAsUser": 65534
}
}
}
}
},
{
"apiVersion": "extensions/v1beta1",
"kind": "Deployment",
"metadata": {
"labels": {
"k8s-app": "tectonic-prometheus-operator",
"managed-by-channel-operator": "true"
},
"name": "tectonic-prometheus-operator",
"namespace": "tectonic-system"
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"k8s-app": "tectonic-prometheus-operator"
}
},
"template": {
"metadata": {
"labels": {
"k8s-app": "tectonic-prometheus-operator",
"tectonic-app-version-name": "tectonic-monitoring"
}
},
"spec": {
"containers": [
{
"args": [
"-logtostderr=true",
"-v=4"
],
"image": "quay.io/coreos/tectonic-prometheus-operator:v1.3.0",
"name": "tectonic-prometheus-operator",
"resources": {
"limits": {
"cpu": "20m",
"memory": "50Mi"
},
"requests": {
"cpu": "20m",
"memory": "50Mi"
}
}
}
],
"imagePullSecrets": [
{
"name": "coreos-pull-secret"
}
],
"restartPolicy": "Always",
"securityContext": {
"runAsNonRoot": true,
"runAsUser": 65534
},
"terminationGracePeriodSeconds": 30
}
}
}
},
{
"apiVersion": "extensions/v1beta1",
"kind": "Deployment",
"metadata": {
"labels": {
"k8s-app": "tectonic-etcd-operator",
"managed-by-channel-operator": "true"
},
"name": "tectonic-etcd-operator",
"namespace": "tectonic-system"
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"k8s-app": "tectonic-etcd-operator"
}
},
"template": {
"metadata": {
"labels": {
"k8s-app": "tectonic-etcd-operator",
"tectonic-app-version-name": "tectonic-etcd"
}
},
"spec": {
"containers": [
{
"command": [
"/usr/local/bin/tectonic-etcd-operator"
],
"image": "quay.io/coreos/tectonic-etcd-operator:v0.0.1",
"name": "tectonic-etcd-operator",
"resources": {
"limits": {
"cpu": "20m",
"memory": "50Mi"
},
"requests": {
"cpu": "20m",
"memory": "50Mi"
}
}
}
],
"imagePullSecrets": [
{
"name": "coreos-pull-secret"
}
],
"restartPolicy": "Always",
"securityContext": {
"runAsNonRoot": true,
"runAsUser": 65534
}
}
}
}
},
{
"apiVersion": "extensions/v1beta1",
"kind": "Deployment",
"metadata": {
"labels": {
"k8s-app": "container-linux-update-operator",
"managed-by-channel-operator": "true"
},
"name": "container-linux-update-operator",
"namespace": "tectonic-system"
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"k8s-app": "container-linux-update-operator"
}
},
"template": {
"metadata": {
"labels": {
"k8s-app": "container-linux-update-operator"
},
"name": "container-linux-update-operator"
},
"spec": {
"containers": [
{
"command": [
"/bin/update-operator"
],
"env": [
{
"name": "POD_NAMESPACE",
"valueFrom": {
"fieldRef": {
"fieldPath": "metadata.namespace"
}
}
}
],
"image": "quay.io/coreos/container-linux-update-operator:v0.2.0",
"name": "update-operator"
}
]
}
}
}
}
],
"desiredVersions": [
{
"name": "kubernetes",
"version": "1.6.4+tectonic.1"
},
{
"name": "tectonic-monitoring",
"version": "1.3.0"
},
{
"name": "tectonic-etcd",
"version": "0.0.1"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment