Skip to content

--cleanup-iptables are deprecated #278

@KeithTt

Description

@KeithTt

I followed this page: https://github.com/cloudnativelabs/kube-router/blob/master/Documentation/kubeadm.md

Everything is running, and I delete the kube-proxy daemonset, then meet the issue:

# docker run --privileged --net=host gcr.mirrors.ustc.edu.cn/google_containers/kube-proxy-amd64:v1.7.3 kube-proxy --cleanup-iptables
Unable to find image 'gcr.mirrors.ustc.edu.cn/google_containers/kube-proxy-amd64:v1.7.3' locally
v1.7.3: Pulling from google_containers/kube-proxy-amd64
2bab9f5a025e: Pull complete
b54d289ec6e2: Pull complete
9e9dc20d80fd: Pull complete
Digest: sha256:dba7121df9f74b40901fb655053af369f58c82c3636d8125986ce474a759be80
Status: Downloaded newer image for gcr.mirrors.ustc.edu.cn/google_containers/kube-proxy-amd64:v1.7.3
W0110 09:27:38.505905       1 server.go:190] WARNING: all flags other than --config, --write-config-to, and --cleanup-iptables are deprecated. Please begin using a config file ASAP.

Is there a good way to clean the iptables rules?

Or, does it matters if not delete iptables?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions