-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHE-5908: add config to deploy Che on k8s
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
- Loading branch information
Oleksandr Garagatyi
committed
Feb 1, 2018
1 parent
1266842
commit 9de2754
Showing
2 changed files
with
103 additions
and
137 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Deploy single user Che to k8s | ||
Tested on minikube with vm provider Virtualbox. Note that Che with workspaces requires quite a lot | ||
of RAM. Initial tests were done with 10GB, but it is definitely more than it is needed to start Che | ||
and couple of workspaces. | ||
IP of VM is supposed to be `192.168.99.100`. `nip.io` is also used for handling hosts resolution. | ||
If you have another IP or DNS replace these values in k8s.yml file. | ||
|
||
###Prerequisites: | ||
- Ingress controller is running. Note: you can start it on minikube with `minikube addons enable ingress`. | ||
- Currently Che workspaces work with NginX ingress controller only. Note: it is default ingress controller on minikube. | ||
- DNS discovery should be enabled. Note: enabled by default in minikube. | ||
### Deployment process: | ||
Note: despite the fact that it is not necessary to use a separate namespace for Che | ||
we use it to simplify development operations such as cleaning of spoiled environment | ||
and clean redeploy of Che. | ||
- Create namespace `che`: `kubectl create namespace che` | ||
- Deploy Che: `kubectl --namespace=che apply -f k8s.yml` | ||
- Check Che pod status until it become `Running`: `kubectl get --namespace=che pods` |
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