Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin genie does not support config version #201

Open
ShixiongQi opened this issue Jan 28, 2020 · 0 comments
Open

plugin genie does not support config version #201

ShixiongQi opened this issue Jan 28, 2020 · 0 comments

Comments

@ShixiongQi
Copy link

I'm trying to deploy CNI-genie on a single node k8s cluster. The kubelet version is v1.17.2. But an error arises in the logs showing "Error validating CNI config list". The plugin genie (or the kubelet) does not support current config version. Can I fix this by updating the ConfigMap to configure a self-hosted CNI-Genie installation?

Here is the current config map:

kind: ConfigMap
apiVersion: v1
metadata:
  name: genie-config
  namespace: kube-system
data:
  # The CNI network configuration to install on each node.
  cni_genie_network_config: |-
    {
        "name": "k8s-pod-network",
        "type": "genie",
        "log_level": "info",
        "datastore_type": "kubernetes",
        "hostname": "__KUBERNETES_NODE_NAME__",
        "policy": {
            "type": "k8s",
            "k8s_auth_token": "__SERVICEACCOUNT_TOKEN__"
        },
        "kubernetes": {
            "k8s_api_root": "https://__KUBERNETES_SERVICE_HOST__:__KUBERNETES_SERVICE_PORT__",
            "kubeconfig": "/etc/cni/net.d/genie-kubeconfig"
        },
        "romana_root": "http://__ROMANA_SERVICE_HOST__:__ROMANA_SERVICE_PORT__",
        "segment_label_name": "romanaSegment"
    }
libujacob pushed a commit to libujacob/CNI-Genie that referenced this issue May 7, 2020
sushanthakumar added a commit that referenced this issue May 7, 2020
Fix cniVersion(#201) and selector validation(#203) issues in genie manifest file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant