-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6849ce
commit ed9e8ae
Showing
57 changed files
with
203 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,13 @@ RUN pip3 --disable-pip-version-check --no-cache-dir install -U \ | |
'poetry==1.6.1' \ | ||
'pre-commit==3.6.0' \ | ||
'pip==23.2.1' | ||
RUN npm install -g @devcontainers/[email protected] | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN sudo apt-get update -y && sudo apt-get install -y \ | ||
iputils-ping \ | ||
traceroute \ | ||
kmod \ | ||
vim | ||
ENV PATH="/home/vscode/.local/bin/:$PATH" | ||
ENV EDITOR=vim | ||
ENV PATH="/home/vscode/.local/bin/:$PATH" | ||
ENV EDITOR=vim | ||
ENV HOMEBREW_NO_AUTO_UPDATE=1 | ||
ENV HOMEBREW_NO_INSTALL_UPGRADE=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.148.1/containers/python-3/.devcontainer/base.Dockerfile | ||
ARG VARIANT="3.11" | ||
FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT} as devcontainer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"remoteUser": "vscode", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
"target": "devcontainer", | ||
"context": "..", | ||
"args": { | ||
"VARIANT": "3.11", | ||
"INSTALL_NODE": "true", | ||
"NODE_VERSION": "18.7" | ||
} | ||
}, | ||
"runArgs": [ | ||
"--network=host", | ||
], | ||
"features": { | ||
"ghcr.io/devcontainers/features/terraform:1": { | ||
"version": "1.6.2" | ||
}, | ||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}, | ||
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": { | ||
"helm": "3.14.0", | ||
"version": "1.27" | ||
}, | ||
"ghcr.io/rio/features/k3d:1": {}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: test | ||
on: | ||
# schedule: | ||
# - cron: 0 13 * * 1 # Every Monday at 1PM UTC (9AM EST) | ||
pull_request: | ||
jobs: | ||
run-example: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: npm install -g @devcontainers/[email protected] | ||
- run: devcontainer up --workspace-folder=. --config .devcontainer/ci/devcontainer.json | ||
- run: devcontainer exec --workspace-folder=. --config .devcontainer/ci/devcontainer.json ./scripts/test.sh | ||
test-codespace: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: npm install -g @devcontainers/[email protected] | ||
- run: devcontainer up --workspace-folder=. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Helm-Direct | ||
|
||
This is an example of how you can directly use helm to bootstrap Kubeflow on ArgoCD. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
|
||
terraform { | ||
required_providers { | ||
helm = { | ||
source = "hashicorp/helm" | ||
version = "~> 2.12.1" | ||
} | ||
} | ||
backend "local" { | ||
} | ||
} | ||
|
||
variable "kubeconfig" { | ||
type = string | ||
} | ||
|
||
provider "helm" { | ||
kubernetes { | ||
config_path = var.kubeconfig | ||
} | ||
} | ||
|
||
resource "helm_release" "argo_cd" { | ||
name = "argocd" | ||
namespace = "argocd" | ||
chart = "argo-cd" | ||
repository = "https://argoproj.github.io/argo-helm" | ||
version = "6.4.1" | ||
create_namespace = true | ||
values = [ | ||
<<EOF | ||
dex: | ||
enabled: false | ||
EOF | ||
] | ||
} | ||
|
||
resource "helm_release" "kubeflow" { | ||
name = "kubeflow" | ||
namespace = "argocd" | ||
chart = "${path.module}/../../helm/kubeflow" | ||
values = [ | ||
<<EOF | ||
EOF | ||
] | ||
depends_on = [ | ||
helm_release.argo_cd | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
helm/treebeard-kubeflow/Chart.yaml β helm/kubeflow-core/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
apiVersion: v2 | ||
name: treebeard-kubeflow | ||
name: kubeflow-core | ||
version: 0.1-0 |
6 changes: 5 additions & 1 deletion
6
helm/treebeard-kubeflow/README.md β helm/kubeflow-core/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
apiVersion: v2 | ||
name: bootstrap | ||
name: kubeflow | ||
version: 0.1.0 |
Oops, something went wrong.