kube-proxy

by stevehipwell

Helm chartv0.0.9App 0.0.9Verified publisher

Helm chart for managing kube-proxy.

About this chart

kube-proxy

Helm chart for managing kube-proxy.

Homepage: https://kubernetes.io/

Maintainers

NameEmailUrl
stevehipwell[email protected]

Source Code

Installing the Chart

OCI Repository

To install the chart using the recommended OCI method you can use the following command.

helm upgrade --install kube-proxy oci://ghcr.io/stevehipwell/helm-charts/kube-proxy --version 0.0.9

Verification

As the OCI chart release is signed by Cosign you can verify the chart before installing it by running the following command.

cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com --certificate-identity-regexp 'https://github\.com/action-stars/helm-workflows/\.github/workflows/release\.yaml@.+' --certificate-github-workflow-repository stevehipwell/helm-charts --certificate-github-workflow-name Release ghcr.io/stevehipwell/helm-charts/kube-proxy:0.0.9

Non-OCI Repository

Alternatively you can use the legacy non-OCI method via the following commands.

helm repo add stevehipwell https://stevehipwell.github.io/helm-charts/
helm upgrade --install kube-proxy stevehipwell/kube-proxy --version 0.0.9

Values

KeyTypeDefaultDescription
affinityobject{}Affinity settings for pod scheduling.
apiServer.endpointstringnilAPI server endpoint for kube-proxy to communicate with.
argslist[]Extra args for the default container.
commonLabelsobject{}Labels to add to all chart resources.
configobject{"apiVersion":"kubeproxy.config.k8s.io/v1alpha1","bindAddress":"0.0.0.0","clientConnection":{"acceptContentTypes":"","burst":10,"contentType":"application/vnd.kubernetes.protobuf","kubeconfig":"/var/lib/kube-proxy/kubeconfig","qps":5},"clusterCIDR":"","configSyncPeriod":"15m0s","conntrack":{"maxPerCore":32768,"min":131072,"tcpCloseWaitTimeout":"1h0m0s","tcpEstablishedTimeout":"24h0m0s"},"enableProfiling":false,"healthzBindAddress":"0.0.0.0:10256","hostnameOverride":"","iptables":{"masqueradeAll":false,"masqueradeBit":14,"minSyncPeriod":"0s","syncPeriod":"30s"},"ipvs":{"excludeCIDRs":null,"minSyncPeriod":"0s","scheduler":"","syncPeriod":"30s"},"kind":"KubeProxyConfiguration","metricsBindAddress":"0.0.0.0:10249","mode":"nftables","nodePortAddresses":null,"oomScoreAdj":-998,"portRange":""}Configuration for kube-proxy.
fullnameOverridestringnilOverride the full name of the chart.
image.digeststringnilImage digest for the default container; at least one of tag and digest must be set.
image.pullPolicystring"IfNotPresent"Image pull policy for the default container.
image.repositorystring"registry.k8s.io/kube-proxy"Image repository for the default container.
image.tagstringnilImage tag for the default container; at least one of tag and digest must be set.
imagePullSecretslist[]Image pull secrets.
init.enabledbooltrueIf true, create an init container so the default container can be unprivileged.
init.securityContextobject{"allowPrivilegeEscalation":true,"privileged":true,"readOnlyRootFilesystem":false,"runAsNonRoot":false}Security context for the init container.
livenessProbeobject{"httpGet":{"path":"/livez","port":"http-health"}}Liveness probe configuration for the default container.
logLevelint2Log level for kube-proxy.
minReadySecondsintnilMin ready seconds for the DaemonSet.
nameOverridestringnilOverride the name of the chart.
nodeSelectorobject{"kubernetes.io/os":"linux"}Node labels to match for pod scheduling.
podAnnotationsobject{}Annotations to add to the pod.
podLabelsobject{}Labels to add to the pod.
podSecurityContextobject{"runAsNonRoot":false}Security context for the pod.
priorityClassNamestring"system-node-critical"Priority class name for the pod.
rbac.createbooltrueIf true, create a ClusterRole & ClusterRoleBinding with access to the Kubernetes API.
readinessProbeobject{"httpGet":{"path":"/healthz","port":"http-health"}}Readiness probe configuration for the default container.
resourcesobject{}Resources for the default container.
securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"add":["NET_ADMIN","SYS_RESOURCE"]},"privileged":false,"readOnlyRootFilesystem":false,"runAsNonRoot":false}Security context for the default container; if init is disabled then this needs to be modified to make the default container privileged.
selectorLabelsOverrideobject{}If configured replace the default selector labels with these.
serviceAccount.annotationsobject{}Annotations to add to the service account.
serviceAccount.createbooltrueIf true, create a new ServiceAccount.
serviceAccount.labelsobject{}Labels to add to the service account.
serviceAccount.namestringnilIf this is set and serviceAccount.create is true this will be used for the created ServiceAccount name, if set and serviceAccount.create is false then this will define an existing ServiceAccount to use.
serviceMonitor.additionalLabelsobject{}Additional labels for the ServiceMonitor.
serviceMonitor.enabledboolfalseIf true, create a ServiceMonitor resource to support the Prometheus Operator.
serviceMonitor.endpointConfigobject{"bearerTokenFile":"/var/run/secrets/kubernetes.io/serviceaccount/token"}Additional endpoint configuration for the default ServiceMonitor endpoint.
serviceMonitor.jobLabelstring"app.kubernetes.io/instance"Label used to define the scrape job name.
terminationGracePeriodSecondsint30Termination grace period for the pod in seconds.
tolerationslist[{"effect":"NoSchedule","operator":"Exists"},{"effect":"NoExecute","operator":"Exists"}]Node taints which will be tolerated for pod scheduling.
updateStrategyobject{"rollingUpdate":{"maxSurge":0,"maxUnavailable":"10%"},"type":"RollingUpdate"}Update strategy for the DaemonSet.

Autogenerated from chart metadata using helm-docs.

Deploy kube-proxy with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kube-proxy on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkube-proxy is pinned at v0.0.9 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply