d1972b4d8d
* Use _REMOTE_USER when available * Update src/python/install.sh Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * Update src/python/install.sh Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * Fix java test issue - JDK 18 not available for the "open" distro * Bump breakfix numbers Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> Co-authored-by: Josh Spicer <joshspicer@github.com> |
||
---|---|---|
.. | ||
devcontainer-feature.json | ||
install.sh | ||
NOTES.md | ||
README.md |
Kubectl, Helm, and Minikube (kubectl-helm-minikube)
Installs latest version of kubectl, Helm, and optionally minikube. Auto-detects latest versions and installs needed dependencies.
Example Usage
"features": {
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {}
}
Options
Options Id | Description | Type | Default Value |
---|---|---|---|
version | Select or enter a Kubernetes version to install | string | latest |
helm | Select or enter a Helm version to install | string | latest |
minikube | Select or enter a Minikube version to install | string | latest |
Ingress and port forwarding
When configuring Ingress for your Kubernetes cluster, note that by default Kubernetes will bind to a specific interface's IP rather than localhost or all interfaces. This is why you need to use the Kubernetes Node's IP when connecting - even if there's only one Node as in the case of Minikube. Port forwarding in Remote - Containers will allow you to specify <ip>:<port>
in either the forwardPorts
property or through the port forwarding UI in VS Code.
However, GitHub Codespaces does not yet support this capability, so you'll need to use kubectl
to forward the port to localhost. This adds minimal overhead since everything is on the same machine. E.g.:
minikube start
minikube addons enable ingress
# Run this to forward to localhost in the background
nohup kubectl port-forward --pod-running-timeout=24h -n ingress-nginx service/ingress-nginx-controller :80 &
Note: This file was auto-generated from the devcontainer-feature.json. Add additional notes to a NOTES.md
.