https://www.orchest.io/ logo
Title
v

Volker Lorrmann

08/11/2022, 10:18 PM
Hi guys, is it possible to use other kubternets distributions instead of minikube or microk8s like k3s or k3d?
πŸ‘ 1
r

Rick Lamers

08/11/2022, 10:32 PM
k3s and k3d should both work πŸ™ŒπŸ»
v

Volker Lorrmann

08/11/2022, 10:44 PM
y

Yannick

08/12/2022, 7:05 AM
I would follow the installation instruction (where applicable) of Cloud > GKE. Installing orchest using the
orchest-cli
is easier. Let me know whether that works for you. @Navid H is, afaik, currently working on adding installation instructions for k3s.
πŸ‘ 2
v

Volker Lorrmann

08/12/2022, 7:57 AM
Thanks. If I do not get it installed, IΒ΄ll simply use minikube. Should be fine for testing it on my EC2 instance.
y

Yannick

08/12/2022, 8:47 AM
Sounds good! Keep us updated πŸ™
v

Volker Lorrmann

08/12/2022, 9:16 AM
This is running for nearly 1h now...πŸ€”
n

Navid H

08/12/2022, 9:25 AM
@Volker Lorrmann: Did you enable ingress addon in minikube?
v

Volker Lorrmann

08/12/2022, 9:29 AM
I donΒ΄t think so. I am an absolute K8s newbie. πŸ™‚
Just installed k3d and created a cluster.
n

Navid H

08/12/2022, 9:32 AM
unfortunately k3s is not supported yet, it will be soon. we advise you to use minikube or mikrok8s for testing.
v

Volker Lorrmann

08/12/2022, 9:33 AM
Ok thanks. Thank!
πŸ™Œ 2
One more question. I have successfully installed orchest with minikube on my EC2 Instance. Is it somehow possible to reach orchest from my host machine?
n

Navid H

08/12/2022, 12:21 PM
@Jacopo: I remember you had experience using nginx on the node to proxy requests to minikube ip. Could you help out here?
y

Yannick

08/12/2022, 12:21 PM
You can use the following snippet:
sudo apt-get install -y nginx

# Make Orchest accessible on the instance through <http://localorchest.io|localorchest.io>
minikube ip | xargs printf "%s <http://localorchest.io|localorchest.io>" | sudo tee -a  /etc/hosts

# Set up a reverse proxy that listens on port 80 of the host
# and routes traffic to Orchest
sudo cat << EOF > /etc/nginx/sites-available/localorchest.io
map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}

server {
	listen 80 default_server;
	listen [::]:80 default_server;

	server_name orchest;

	location / {
		proxy_pass <http://localorchest.io>;

		# For project or file manager uploads.
		client_max_body_size 0;

		# WebSocket support.
		proxy_http_version 1.1;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection $connection_upgrade;
		proxy_read_timeout 86400;
	}
}
EOF

sudo ln -s /etc/nginx/sites-available/localorchest.io /etc/nginx/sites-enabled/
# Remove default_server.
sudo truncate -s 0 /etc/nginx/sites-available/default
sudo service nginx restart
πŸ‘ 2
πŸ™ 1
πŸ‘† 1
@juanlu Could you add a section to our docs (e.g. here) that explains how to set up Orchest on an EC2 instance? We have had this question pop-up a few times now.
j

juanlu

08/12/2022, 12:24 PM
sure thing πŸ’ͺ🏼
❀️ 2
v

Volker Lorrmann

08/12/2022, 1:13 PM
Wow. Thanks! I think this can be used for any other (remote) VM. Right?
y

Yannick

08/12/2022, 2:23 PM
Pretty much yes! Good point. The documentation should not just mention EC2 as it should work on all (afaik) linux hosts.
v

Volker Lorrmann

08/12/2022, 2:28 PM
At least for me, there was a "sudo" in front of "cat" needed.
πŸ‘ 2
y

Yannick

08/12/2022, 2:39 PM
Thanks. I've edited the message for future reference πŸ’ͺ
πŸ™Œ 1
r

Rick Lamers

08/15/2022, 9:29 AM
@Volker Lorrmann apologies for the incorrect information, looks like we had some details to figure out for k3s to work. It should be supported soon. @Navid H will post here once the necessary changes are live
πŸ‘ 1