# Remove default entrypoints on fresh k3s install

**URL:** <https://community.traefik.io/t/remove-default-entrypoints-on-fresh-k3s-install/30262>\
**Category:** Traefik v3 (latest)\
**Tags:** kubernetes-ingress\
**Created:** [October 2, 2026, 6:04am UTC](https://community.traefik.io/t/remove-default-entrypoints-on-fresh-k3s-install/30262 "2026-10-02T06:04:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nlgranger](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/nlgranger/32/11351_2.png) [@nlgranger](https://community.traefik.io/u/nlgranger)\
**Post date:** [October 2, 2026, 6:04am UTC](https://community.traefik.io/t/remove-default-entrypoints-on-fresh-k3s-install/30262/1 "2026-10-02T06:04:14Z")

</div>

On a fresh k3s installation, traefik has default entrypoints that use port 80 and 443. I want to get rid of them.

```auto
apiVersion: v1
kind: Service
metadata:
  annotations:
    meta.helm.sh/release-name: traefik
    meta.helm.sh/release-namespace: kube-system
  ...
spec:
  ...
  ports:
  - name: web
    nodePort: 30617
    port: 80
    protocol: TCP
    targetPort: web
  - name: websecure
    nodePort: 30392
    port: 443
    protocol: TCP
    targetPort: websecure

```

I tried to override the k3s helm chart by creating a HelmChartConfig in `/var/lib/rancher/k3s/server/manifests/k3s-traefik-config.yaml`

```auto
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
  name: traefik
  namespace: kube-system
spec:
  valuesContent: |-
    ports:
      web: null
      websecure: null

```

However, the ports are still bound (and it blocks the Gateway API from using it). I am new to kubernetes so this leaves me confused and I don't even know if I'm looking in the right direction.

---

<div class="post-metadata">

**Author:** ![nlgranger](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/nlgranger/32/11351_2.png) [@nlgranger](https://community.traefik.io/u/nlgranger)\
**Post date:** [October 2, 2026, 10:40am UTC](https://community.traefik.io/t/remove-default-entrypoints-on-fresh-k3s-install/30262/2 "2026-10-02T10:40:33Z")

</div>

I resolved my problem by replacing traefik with nginx-gateway-fabric.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/containo/original/2X/b/bd81ebdb578656e76e56ff3cc3eed021d3ba132d.png) [@system](https://community.traefik.io/u/system)\
**Post date:** [October 5, 2026, 10:40am UTC](https://community.traefik.io/t/remove-default-entrypoints-on-fresh-k3s-install/30262/3 "2026-10-05T10:40:45Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
