|
5 年之前 | |
---|---|---|
.. | ||
CHANGELOG.md | 5 年之前 | |
Dockerfile | 5 年之前 | |
Makefile | 5 年之前 | |
OWNERS | 5 年之前 | |
README.md | 5 年之前 | |
kube-addons.sh | 5 年之前 |
addon-manager manages two classes of addons with given template files in
$ADDON_PATH
(default /etc/kubernetes/addons/
).
addonmanager.kubernetes.io/mode=Reconcile
will be periodically
reconciled. Direct manipulation to these addons through apiserver is discouraged because
addon-manager will bring them back to the original state. In particular:
$ADDON_PATH
.addonmanager.kubernetes.io/mode=EnsureExists
will be checked for
existence only. Users can edit these addons as they want. In particular:
$ADDON_PATH
.Notes:
kubernetes.io/cluster-service=true
is deprecated (only for Addon Manager).
In future release (after one year), Addon Manager may not respect it anymore. Addons
have this label but without addonmanager.kubernetes.io/mode=EnsureExists
will be
treated as "reconcile class addons" for now.$ADDON_PATH
need to have either one of these two labels.
Otherwise it will be omitted.addon-manager images are pushed to k8s.gcr.io
. As addon-manager is built for multiple architectures, there is an image per architecture in the format - k8s.gcr.io/kube-addon-manager-$(ARCH):$(VERSION)
. The list of existing images and version can be found in gcr.io/google-containers/.
The addon-manager
is built for multiple architectures.
VERSION
in the Makefile
KUBECTL_VERSION
in the Makefile
if requiredamd64
image and test it on a cluster# Build for linux/amd64 (default)
$ make push ARCH=amd64
# ---> staging-k8s.gcr.io/kube-addon-manager-amd64:VERSION
# ---> staging-k8s.gcr.io/kube-addon-manager:VERSION (image with backwards-compatible naming)
$ make push ARCH=arm
# ---> staging-k8s.gcr.io/kube-addon-manager-arm:VERSION
$ make push ARCH=arm64
# ---> staging-k8s.gcr.io/kube-addon-manager-arm64:VERSION
$ make push ARCH=ppc64le
# ---> staging-k8s.gcr.io/kube-addon-manager-ppc64le:VERSION
$ make push ARCH=s390x
# ---> staging-k8s.gcr.io/kube-addon-manager-s390x:VERSION
If you don't want to push the images, run make
or make build
instead