Skip to content

[Feature Request] #424

Description

@mgliang58

Describe the bug

Display Message: 'resource mapping not found for name: "polycube-rbac" ' and 'ensure CRDs are installed first' when install pcn-k8s.

To Reproduce

Steps to reproduce the behavior:

  1. Install k8s software, kubectl, .....
  2. Iinializing the master01
  3. See error, as follows
    #kubectl apply -f https://raw.githubusercontent.com/polycube-network/polycube/master/src/components/k8s/pcn-k8s.yaml
    configmap/polycube-config unchanged
    daemonset.apps/polycube unchanged
    resource mapping not found for name: "polycube-rbac" namespace: "" from "https://raw.githubusercontent.com/polycube-network/polycube/master/src/components/k8s/pcn-k8s.yaml": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1"
    ensure CRDs are installed first
    resource mapping not found for name: "polycubenetworkpolicies.polycube.network" namespace: "" from "https://raw.githubusercontent.com/polycube-network/polycube/master/src/components/k8s/pcn-k8s.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
    ensure CRDs are installed first

Expected behavior

I want the pcn-k8s is functional to connect all the pods.

Please tell us about your environment:

  1. OS details:
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=22.04
    DISTRIB_CODENAME=jammy
    DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"

  2. Kernel details: uname -a
    Linux hep-k8s-master01 5.15.0-52-generic Implement pcn_time_get_sec() #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

  3. Polycube Version: polycubectl version
    WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version.
    Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.2", GitCommit:"5835544ca568b757a8ecae5c153f317e5736700e", GitTreeState:"clean", BuildDate:"2022-09-21T14:33:49Z", GoVersion:"go1.19.1", Compiler:"gc", Platform:"linux/amd64"}
    Kustomize Version: v4.5.7
    Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0", GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean", BuildDate:"2022-08-23T17:38:15Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/amd64"}

  4. Polycube Log: Attach the log from /var/log/polycube/polycubed.log
    No

Additional context

No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions