Sign inSign up

tedezed/slug-statefulset-dynamic-loadbalancer

By tedezed

Updated over 9 years ago

Dynamic load balancer for StatefulSet autoscaler

Image
1

813

tedezed/slug-statefulset-dynamic-loadbalancer repository overview

NOT USE THIS! - USE > tedezed/slug-dynamic-loadbalancer

  • Service account support.
  • RC and Statefulset support.

Slug dynamic load balancer

Example arguments

  • KMASTER: 10.40.12.34
  • HEAPSTER: http://heapster/api/v1/model
  • TIME_QUERY: 18
  • CONF_KUBE_BASE64: "xxxxxxxxxxxxxxxx"
  • NAME_SET: "nginx" only one set.
  • TYPE_BALANCE: "roundrobin"

Example argument CONF_KUBE_BASE64

Config kubectl to base64

/home/your_user/.kube/config

echo -n "apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: 0000000000000000000000
    server: https://kubernetes
  name: gke
contexts:
- context:
    cluster: gke
    user: gke
  name: gke
current-context: gke
kind: Config
preferences: {}
users:
- name: gke
  user:
    client-certificate-data: 0000000000000000000
    password: xxxxxxxxxxxxxxxx
    username: userxxxxx" | base64 -w0

Value for CONF_KUBE_BASE64 in slug-autoscaler-rc.yaml

- name: CONF_KUBE_BASE64
	value: "YXBpVmVyc2lvbjogdjEKY2x1cRlLWF1dGhvcml0eS1kYXRhOiAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwCiAgICBzZXJ2ZXI6IGh0dHBzOi8va3ViZXJuZXRlcwogIG5hbWU6IGdrZQpjbh4eHh4"

Tag summary

Content type

Image

Digest

Size

172.9 MB

Last updated

over 9 years ago

docker pull tedezed/slug-statefulset-dynamic-loadbalancer