Skip to content

Instantly share code, notes, and snippets.

@viklas
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viklas/bacd758b9b9b6287d1ed to your computer and use it in GitHub Desktop.
Save viklas/bacd758b9b9b6287d1ed to your computer and use it in GitHub Desktop.
{
"apiVersion": "v1beta3",
"kind": "ReplicationController",
"metadata": {
"creationTimestamp": null,
"labels": {
"name": "logging"
},
"name": "logging",
"namespace": "AAAAAAAAAAAAAA"
},
"spec": {
"replicas": 3,
"selector": {
"name": "logging"
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"name": "logging"
}
},
"spec": {
"containers": [
{
"args": [
"-a",
"XXXXXXXXXXXXXX",
"-s",
"YYYYYYYYYYYYYY",
"-r",
"ZZZZZZZZZZZZZZ",
"-g",
"AAAAAAAAAAAAAA",
"-t",
"BBBBBBBBBBBBBB",
"-b",
"CCCCCCCCCCCCCC",
"-o",
"DDDDDDDDDDDDDD",
],
"image": "dberesford/docker-cloudwatchlogs",
"imagePullPolicy": "Always",
"name": "logging",
"ports": [
{
"containerPort": 30000,
"hostPort": 30000,
"protocol": "TCP"
}
],
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"volumeMounts": [
{
"mountPath": "/var/run/docker.sock",
"name": "dockersock"
}
]
}
],
"dnsPolicy": "ClusterFirst",
"restartPolicy": "Always",
"volumes": [
{
"hostPath": {
"path": "/var/run/docker.sock"
},
"name": "dockersock"
}
]
}
}
},
"status": {
"replicas": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment