Switch branches/tags
Find file History
Latest commit ba09291 Nov 23, 2017 @k8s-merge-robot k8s-merge-robot Merge pull request #56219 from kawych/agents_deployment
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add deployment for Stackdriver Metadata Agent with version and resource requirement controlled by env variable

**What this PR does / why we need it**:
Introduces Stackdriver Metadata Agent - a daemon set providing metadata for kubernetes objects connected to the same node.

**Special notes for your reviewer**:

**Release note**:
Failed to load latest commit information.
addon-manager Merge branch 'master' into addon-manager Nov 14, 2017
calico-policy-controller Add optional addon PSPs Nov 10, 2017
cluster-loadbalancing Update OWNERS files for networking components Aug 3, 2017
cluster-monitoring Merge pull request #56151 from kawych/heapster_deployment Nov 23, 2017
dashboard update dashboard image version Jul 31, 2017
device-plugins/nvidia-gpu Changes nvidia-gpu device plugin addon config settings: Nov 21, 2017
dns-horizontal-autoscaler Merge kube-dns-autoscaler templates into a single file Oct 3, 2017
dns Update kube-dns 1.14.7 Oct 23, 2017
etcd-empty-dir-cleanup Add optional addon PSPs Nov 10, 2017
fluentd-elasticsearch Merge pull request #55400 from mrahbar/update_elasticsearch_kibana Nov 22, 2017
fluentd-gcp Merge pull request #55950 from crassirostris/fluentd-gcp-setting-reso… Nov 22, 2017
ip-masq-agent Add optional addon PSPs Nov 10, 2017
kube-proxy Merge pull request #52003 from vfreex/mount-lib-modules Oct 25, 2017
metadata-agent Add deployment for Stackdriver Metadata Agent with version and resour… Nov 22, 2017
metadata-proxy Pass pod name and namespace argss to prom-to-sd sidecar of metadata-p… Nov 14, 2017
metrics-server Adjust resources for Metrics Server Oct 31, 2017
node-problem-detector Reorganize addon PodSecurityPolicies Nov 10, 2017
python-image Always --pull in docker build to ensure recent base images Jan 11, 2017
rbac gce: readd kubelet-bootstrap to kubelet user Nov 14, 2017
registry fix invalid url link Aug 24, 2017
storage-class [addon/storage-class] update storageclass groupversion in storage-class Oct 22, 2017
BUILD Run hack/update-bazel.sh to generate BUILD files Aug 3, 2017
README.md Updated cluster/addons readme to match and point to docs Oct 18, 2017


Legacy Cluster add-ons

For more information on add-ons see the documentation.


Cluster add-ons are resources like Services and Deployments (with pods) that are shipped with the Kubernetes binaries and are considered an inherent part of the Kubernetes clusters.

There are currently two classes of add-ons:

  • Add-ons that will be reconciled.
  • Add-ons that will be created if they don't exist.

More details could be found in addon-manager/README.md.

Cooperating Horizontal / Vertical Auto-Scaling with "reconcile class addons"

"Reconcile" class addons will be periodically reconciled to the original state given by the initial config. In order to make Horizontal / Vertical Auto-scaling functional, the related fields in config should be left unset. More specifically, leave replicas in ReplicationController / Deployment / ReplicaSet unset for Horizontal Scaling, leave resources for container unset for Vertical Scaling. The periodic reconcile won't clobbered these fields, hence they could be managed by Horizontal / Vertical Auto-scaler.

Add-on naming

The suggested naming for most of the resources is <basename> (with no version number). Though resources like Pod, ReplicationController and DaemonSet are exceptional. It would be hard to update Pod because many fields in Pod are immutable. For ReplicationController and DaemonSet, in-place update may not trigger the underlying pods to be re-created. You probably need to change their names during update to trigger a complete deletion and creation.