Added config + instructions for testing on Docker Desktop (#668)
This commit is contained in:
parent
b1a388b6d6
commit
7092beabdc
|
|
@ -0,0 +1,7 @@
|
|||
KUBERNETES_PROVIDER=docker-desktop
|
||||
|
||||
KUBECTL_CONTEXT=docker-desktop
|
||||
|
||||
JENKINS_API_HOSTNAME_COMMAND=echo localhost
|
||||
JENKINS_API_PORT=0
|
||||
JENKINS_API_USE_NODEPORT=true
|
||||
|
|
@ -205,6 +205,17 @@ seed-job-agent-jenkins-example-758cc7cc5c-82hbl 1/1 Running 0
|
|||
|
||||
```
|
||||
|
||||
## Build and run with Docker Desktop
|
||||
|
||||
Install Docker Desktop. If you are using Docker Desktop for Windows, you will also need to install WSL or WSL2. Ensure that Docker Desktop is currently running, and that you have enabled Kubernetes in it.
|
||||
|
||||
Run **Jenkins Operator** locally.
|
||||
```bash
|
||||
make config="config.docker-desktop.env" run
|
||||
```
|
||||
|
||||
From this point on, Docker Desktop usage is identical to minikube usage.
|
||||
|
||||
### Debug Jenkins Operator
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Reference in New Issue