whereabouts icon indicating copy to clipboard operation
whereabouts copied to clipboard

[BUG] cronJob error when installing cluster in k8s v1.25.0

Open subhamkrai opened this issue 3 years ago • 0 comments
trafficstars

Describe the bug We are using these YAML

kubectl apply \
    -f https://raw.githubusercontent.com/k8snetworkplumbingwg/whereabouts/v0.5.3/doc/crds/daemonset-install.yaml \
    -f https://raw.githubusercontent.com/k8snetworkplumbingwg/whereabouts/v0.5.3/doc/crds/ip-reconciler-job.yaml \
    -f https://github.com/k8snetworkplumbingwg/whereabouts/raw/v0.5.3/doc/crds/whereabouts.cni.cncf.io_ippools.yaml \
    -f https://github.com/k8snetworkplumbingwg/whereabouts/raw/v0.5.3/doc/crds/whereabouts.cni.cncf.io_overlappingrangeipreservations.yaml

to install multus and configure the network in minikube single node cluster for our CI testing(here are details steps). We can't upgrade our CI to use latest k8s version due error

error: resource mapping not found for name: "ip-reconciler" namespace: "kube-system" from "https://raw.githubusercontent.com/k8snetworkplumbingwg/whereabouts/v0.5.3/doc/crds/ip-reconciler-job.yaml": no matches for kind "CronJob" in version "batch/v1beta1"

We are using v0.5.3 and I see in latest release /ip-reconciler-job.yaml file has been removed. So we need some help getting our CI up and running.

Expected behavior Installing whereabouts should go smooth in k8s v1.25.0

To Reproduce Steps to reproduce the behavior:

  1. use whereabouts v0.5.3 to install in k8s v1.25.0

Environment:

  • Whereabouts version : v0.5.3
  • Kubernetes version (use kubectl version): v1.25.0
  • Network-attachment-definition: calico
  • Whereabouts configuration (on the host): N/A
  • OS (e.g. from /etc/os-release): ubuntu(github action)
  • Kernel (e.g. uname -a): N/A
  • Others: N/A

Additional info / context CI link in case want more details https://github.com/rook/rook/runs/8242985791?check_suite_focus=true#step:7:42

subhamkrai avatar Sep 09 '22 04:09 subhamkrai