kubeflow-playground
Origin: https://github.com/lisy09/kubeflow-playground
This is a project to ....
It is inspired by the ... project and add additional features.
License
See the LICENSE file for license rights and limitations.
Contributing
Please check CONTRIBUTING.md.
Directory
scripts/
: scripts for building/running.env
: env file used in scriptsMakefile
: GNU Make Makefile as quick command entrypoint
How to Use
Prerequisite
- The environment for build needs to be linux/amd64 or macos/amd64
- The environemnt for build needs docker engine installed
- have docker-compose installed
- The environemnt for build needs GNU
make
> 3.8 installed - The environemnt for build needs
bash
shell
Build command
To build all docker images locally:
make all
To push built docker images to the remote registry:
make push
To delete built local docker images:
make clean
Or you can check ./Makefile
for more details.
for microk8s
sudo snap refresh microk8s --classic --channel=edge
sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target
exec sudo nsenter -t (pidof systemd | awk 'NF>1{print $NF}') -a su - $LOGNAME
exec sudo nsenter -t (pidof systemd) -a su - $LOGNAME
mkdir -p ~/.kube && microk8s.config -l | sed "s/:8080/:$API_PORT/" | sudo tee /var/snap/microk8s/current/kubelet.config > ~/.kube/microk8s.config