Skip to content
Open
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "Kubernetes Autoscaler Development",
"image": "mcr.microsoft.com/devcontainers/go:1.25",

"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"dockerDashComposeVersion": "v2"
Comment thread
theunrepentantgeek marked this conversation as resolved.
Outdated
"moby": "false"
},
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {
"minikube": "latest"
},
"ghcr.io/devcontainers/features/github-cli:1": {}
},

"onCreateCommand": "sudo apt-get update && sudo apt-get install -y --no-install-recommends libseccomp-dev",

"postCreateCommand": "cd cluster-autoscaler && go mod download && cd .. && cd vertical-pod-autoscaler && go mod download && cd .. && hack/install-verify-tools.sh && go install sigs.k8s.io/kind@latest",

"customizations": {
"vscode": {
"extensions": [
"golang.go"
],
"settings": {
"go.testFlags": ["-race", "-count=1"],
"go.lintTool": "golangci-lint",
"go.lintOnSave": "workspace"
}
}
}
}
Loading