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

[Feature Request] #424

Open
mgliang58 opened this issue Nov 3, 2022 · 0 comments
Open

[Feature Request] #424

mgliang58 opened this issue Nov 3, 2022 · 0 comments

Comments

@mgliang58
Copy link

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

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

No branches or pull requests

1 participant