This message was deleted.
# general
a
This message was deleted.
e
Not sure if it can help, running
kubectl describe svc --namespace default mytomcat
returns:
Copy code
Name:                     mytomcat
Namespace:                default
Labels:                   app.kubernetes.io/instance=mytomcat
                          app.kubernetes.io/managed-by=Helm
                          app.kubernetes.io/name=tomcat
                          app.kubernetes.io/version=10.1.18
                          helm.sh/chart=tomcat-10.13.4
Annotations:              meta.helm.sh/release-name: mytomcat
                          meta.helm.sh/release-namespace: default
Selector:                 app.kubernetes.io/instance=mytomcat,app.kubernetes.io/name=tomcat
Type:                     LoadBalancer
IP Family Policy:         SingleStack
IP Families:              IPv4
IP:                       10.43.156.225
IPs:                      10.43.156.225
Port:                     http  80/TCP
TargetPort:               http/TCP
NodePort:                 http  32078/TCP
Endpoints:                10.42.0.10:8080
Session Affinity:         None
External Traffic Policy:  Cluster
Events:
  Type    Reason                Age   From                Message
  ----    ------                ----  ----                -------
  Normal  EnsuringLoadBalancer  24m   service-controller  Ensuring load balancer
  Normal  AppliedDaemonSet      24m                       Applied LoadBalancer DaemonSet kube-system/svclb-mytomcat-8afa4a31
a
you can set nodeport and type nodeport so you can easily test the deployment. I'm not sure how rancher desktop handles service type loadbalancer... (that's the default for this helm chart)
or specify ingress controller (nodeport might be easier if just testing stuff out)
just an example, you would have to play with it
helm install mytomcat bitnami/tomcat --set service.type=NodePort,service.nodePorts=30080
e
thanks a lot Pedro!
a
or if already installed
helm upgrade --install mytomcat bitnami/tomcat --set service.type=NodePort,service.nodePorts=30080
I'm also new at this so your mileage will vary
e
I think the problem was that I had port 80 in use, changing
service.ports.http
also worked (the external ip got assigned, and I could access the service)
a
ah nice
e
now I am experimenting with nodeport 🙂
a
if it got an external ip (and valid) then I would just keep testing with that
"external ip"
rancher desktop is all in one so I would think externalip is your node