Created
November 14, 2014 19:59
-
-
Save smarterclayton/0862906d4aea8c8466e6 to your computer and use it in GitHub Desktop.
A replication controller created by a deployment config
This file contains 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
// ReplicationController[I'm Deployment 1 of mydeployment created when mydeployment was at index 50] | |
{ | |
"metadata": { | |
"labels": { | |
"deployment": "1" | |
}, | |
"annotations": { | |
"description": "This is deployment 1 of mydeployment: we are going to roll this sucker out", | |
"deployment.version": "1", | |
"deployment.config": "mydeployment", | |
"deployment.config.version": "etcd_index_50", | |
"deployment.strategy": "recreate", | |
"deployment.strategy.params": "{parameters}", | |
"deployment.details": "{details as serialized}", | |
"deployment.desiredreplicas": 10, | |
"deployment.state": "initial", | |
"controlled.by": "[autoscaler|deployment]", | |
"autoscaler.min": 1, | |
"autoscaler.max": 10, | |
"autoscaler.original": 5, | |
}, | |
}, | |
"spec": { | |
"replicas": 0, // current scale | |
"selector": {}, | |
"template": {}, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment