https://rancher.com/ logo
Title
p

purple-dream-76106

09/16/2022, 2:46 PM
Hi all, I am evaluating K3d with Neuvector. Does anybody have a clue how to get this up and running? I have the following config
apiVersion: <http://k3d.io/v1alpha4|k3d.io/v1alpha4>
kind: Simple
metadata:
  name: test
servers: 1
agents: 2
kubeAPI:
  host: localhost
  hostIP: 0.0.0.0
  hostPort: "6443"
volumes:
  - volume: /tmp:/tmp/host
    nodeFilters:
      - all
ports:
  - port: 0.0.0.0:8080:80
    nodeFilters:
      - loadbalancer
  - port: 0.0.0.0:8443:443
    nodeFilters:
      - loadbalancer
options:
  k3d:
    wait: true
    timeout: "150s"
    disableImageVolume: false
    disableLoadbalancer: false
    disableRollback: false
  k3s:
    extraArgs:
      - arg: --tls-san=127.0.0.1
        nodeFilters:
          - server:*
  kubeconfig:
    updateDefaultKubeconfig: true
    switchCurrentContext: true
I have installed Neuvector with helm
NAMESPACE="neuvector"

helm upgrade neuvector neuvector/core -n ${NAMESPACE} \
  --install \
  --create-namespace \
  --set k3s.enabled=true \
  --set manager.svc.type="ClusterIP"
It is up and running, but I am not able to get the UI of the management pod. Not with a port forward and not on the service. Any help would be appreciated. Thanks!
b

bulky-sunset-52084

09/16/2022, 4:30 PM
my initial thought is - you'll need to use 80:80 and 443:443 as the mapping on the local machine - ingresses don't like port numbers. Do you have any errors or anything we can reference?
p

purple-dream-76106

09/16/2022, 4:42 PM
Thanks, the ingress is working fine with a nginx test pod. I am using a port-forward to test the service which is pointing to the ui pod, but nothing happens on my Mac. I am using Lens 6 and have tested it via kubectl, both failing. Also tested in with a nodeport, no luck