/
DirectorySecurity Advisories
Sign In
Directory
kube-vip-cloud-provider logo

kube-vip-cloud-provider

Last changed

Create your Free Account

Be the first to hear about exciting product updates, critical vulnerability alerts, compare alternative images, and more.

Sign Up
Tags
Overview
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Chainguard Container for kube-vip-cloud-provider

A general purpose cloud provider for kube-vip

Chainguard Containers are regularly-updated, secure-by-default container images.

Download this Container Image

For those with access, this container image is available on cgr.dev:

docker pull cgr.dev/ORGANIZATION/kube-vip-cloud-provider:latest

Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.

Compatibility Notes

Chainguard's kube-vip-cloud-provider image contains only the minimum set of tools and dependencies needed to function. It is comparable to the official kube-vip-cloud-provider image from kube-vip.

Getting Started

You can install Chainguard's kube-vip-cloud-provider image using the kube-vip Helm chart:

Create a values.yaml file for helm installation. Make sure to replace ORGANIZATION and <tag> with your desired values.

cat > values.yaml <<EOF
image:
repository: cgr.dev/ORGANIZATION/kube-vip-cloud-provider
tag: <tag>
EOF

Install the Chainguard's kube-vip-cloud-provider image using helm chart:

helm repo add kube-vip https://kube-vip.github.io/helm-charts

helm install kube-vip-cloud-provider kube-vip/kube-vip-cloud-provider \
--namespace kube-system --create-namespace \
--values values.yaml --wait

Next, define address pools in a ConfigMap:

kubectl -n kube-system create configmap kube-vip-cloud-provider \
--from-literal=cidr-global=<GLOBAL_POOL_CIDR> \
--from-literal=cidr-development=<DEV_POOL_CIDR>

Be sure to replace GLOBAL_POOL_CIDR and DEV_POOL_CIDR with your desired address pools.

Then create an nginx service which will be watched by the cloud provider:

cat <<EOF | kubectl apply -n lb-test -f -
apiVersion: apps/v1
kind: Deployment
metadata: { name: nginx }
spec:
replicas: 1
selector: { matchLabels: { app: nginx } }
template:
    metadata: { labels: { app: nginx } }
    spec:
    containers:
    - name: nginx
        image: nginx:1.25.4
        ports: [{ containerPort: 80 }]
---
apiVersion: v1
kind: Service
metadata: { name: nginx }
spec:
type: LoadBalancer
selector: { app: nginx }
ports: [{ port: 80 }]
EOF

Finally, verify the address assignment:

kubectl -n lb-test get svc nginx \
-o jsonpath='{.metadata.annotations.kube-vip\.io/loadbalancerIPs}'

The resulting address should be in between the address pools you defined.

Documentation and Resources

For more information, refer to the kube-vip-cloud-provider usage documentation

What are Chainguard Containers?

Chainguard Containers are minimal container images that are secure by default.

In many cases, the Chainguard Containers tagged as :latest contain only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager. Chainguard Containers are built with Wolfi, our Linux undistro designed to produce container images that meet the requirements of a more secure software supply chain.

The main features of Chainguard Containers include:

For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a -dev variant.

Although the -dev container image variants have similar security features as their more minimal versions, they feature additional software that is typically not necessary in production environments. We recommend using multi-stage builds to leverage the -dev variants, copying application artifacts into a final minimal container that offers a reduced attack surface that won’t allow package installations or logins.

Learn More

To better understand how to work with Chainguard Containers, please visit Chainguard Academy and Chainguard Courses.

In addition to Containers, Chainguard offers VMs and Libraries. Contact Chainguard to access additional products.

Trademarks

This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.

Licenses

Chainguard container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:

  • Apache-2.0

  • LGPL-2.1-or-later

  • MIT

  • MPL-2.0

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Category
application

Safe Source for Open Sourceâ„¢
Media KitContact Us
© 2025 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Products

Chainguard ContainersChainguard LibrariesChainguard VMs