Trying to use a CNI configuration with Calico in Minikube with Helm

jp flag

I am trying to configure a network configuration in our Kubernetes cluster via Helm with Calico, we are running minikube with calico like this:

minikube start --network-plugin=cni --cni=calico

And we include the network config like this:

# network attachement
apiVersion: ""
kind: NetworkAttachmentDefinition
  name: sriov-albora
  namespace: test
  config: '{
    "type": "sriov",
    "vlan": 1040,
    "ipam": {
    "type": "static",
    "addresses": [ { "address": "" } ],
    "routes": [{ "dst": "", "gw": "" }]

but it doesn't work... we receive this:

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "NetworkAttachmentDefinition" in version ""

I am trying to figure out what happen with different tutorials, docs or stack-over questions but I am lost


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.