teamhephy / workflow

Hephy Workflow - An open source fork of Deis Workflow - The open source PaaS for Kubernetes.
MIT License
411 stars 36 forks source link

Guide for Rancher #140

Open mehmetaydogduu opened 3 years ago

mehmetaydogduu commented 3 years ago

My preference for Kubernetes is rancher. Can you create a manual for use with rancher?

mehmetaydogduu commented 3 years ago

I couldn't determine $hostname.

The output for kubectl --namespace=deis describe svc deis-router command.

Name:                     deis-router
Namespace:                deis
Labels:                   app.kubernetes.io/managed-by=Helm
                          heritage=deis
Annotations:              meta.helm.sh/release-name: workflow
                          meta.helm.sh/release-namespace: deis
                          service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: 1200
Selector:                 app=deis-router
Type:                     LoadBalancer
IP Families:              <none>
IP:                       10.43.209.172
IPs:                      <none>
Port:                     http  80/TCP
TargetPort:               8080/TCP
NodePort:                 http  31858/TCP
Endpoints:                10.42.0.44:8080
Port:                     https  443/TCP
TargetPort:               6443/TCP
NodePort:                 https  32510/TCP
Endpoints:                10.42.0.44:6443
Port:                     builder  2222/TCP
TargetPort:               2222/TCP
NodePort:                 builder  32261/TCP
Endpoints:                10.42.0.44:2222
Port:                     healthz  9090/TCP
TargetPort:               9090/TCP
NodePort:                 healthz  32048/TCP
Endpoints:                10.42.0.44:9090
Session Affinity:         None
External Traffic Policy:  Cluster
Events:                   <none>
mehmetaydogduu commented 3 years ago

The output for kubectl --namespace=deis get service deis-router command.

NAME          TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)                                                    AGE
deis-router   LoadBalancer   10.43.209.172   <pending>     80:31858/TCP,443:32510/TCP,2222:32261/TCP,9090:32048/TCP   82m
mehmetaydogduu commented 3 years ago

The output for kubectl cluster-info command.

Kubernetes control plane is running at https://45.76.83.122:442/k8s/clusters/local
CoreDNS is running at https://45.76.83.122:442/k8s/clusters/local/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
mehmetaydogduu commented 3 years ago

Just switched to minikube temporary minikube start --force --driver=docker

Cryptophobia commented 3 years ago

I have not used rancher with Hephy but there is no reason why it would not work.

Did you try deis.45.76.83.122 as the endpoint? Or deis.10.43.209.172 as that is the endpoint on the exposed loadbalancer?

mehmetaydogduu commented 3 years ago

The issue about missing external ip was missing load balance, in a vps there is no load balancer. This is a general problem, not with deis. So I need a guide to install kubernetes on a vps without load balancer.

I didn't tried deis subdomains on these ips.