# helm
kubectl -n kube-system create sa tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller
# draftd
kubectl patch -n kube-system deployment draftd -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}}'
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
| class CaselessDictionary(dict): | |
| """A dictionary with case-insensitive keys. | |
| A dictionary that is case-insensitive when searching, but also preserves | |
| the keys as inserted. | |
| """ | |
| def __init__(self, initval={}): | |
| if isinstance(initval, dict): | |
| for key, value in initval.iteritems(): |
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
| #Get the current configuration and save it locally | |
| curl -X GET http://user:password@hudson.server.org/job/myjobname/config.xml -o mylocalconfig.xml | |
| #Update the configuration via posting a local configuration file | |
| curl -X POST http://user:password@hudson.server.org/job/myjobname/config.xml --data-binary "@mymodifiedlocalconfig.xml" | |
| #Creating a new job via posting a local configuration file | |
| curl -X POST "http://user:password@hudson.server.org/createItem?name=newjobname" --data-binary "@newconfig.xml" -H "Content-Type: text/xml" |
service.beta.kubernetes.io/aws-load-balancer-access-log-emit-interval(in minutes)service.beta.kubernetes.io/aws-load-balancer-access-log-enabled(true|false)service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-nameservice.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-prefixservice.beta.kubernetes.io/aws-load-balancer-backend-protocol(http|https|ssl|tcp)service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled(true|false)service.beta.kubernetes.io/aws-load-balancer-connection-draining-timeout(in seconds)

