-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed as not planned
Closed as not planned
Copy link
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.
Description
What happened?
With the new feature to disable hostport mapping on CRI-O to delegate the functionality to CNI, the expectation is to send the portmappings into the CNIPlugin.SetUpPodWithContext. CNI does not receive the host portmappings configuration.
What did you expect to happen?
Set portmappings in run time config field before delegating the functionality to CNI
How can we reproduce it (as minimally and precisely as possible)?
set disable_hostport_mapping = true in crio.conf, Use portmap CNI plugin from https://github.com/containernetworking/plugins, Set pod spec to use a hostportmap. Expectation is that CRI-O delegates the task to CNI plugin with right runtime config. IPtable rules from portmap plugin is added to NAT table
Anything else we need to know?
No response
CRI-O and Kubernetes version
Details
$ crio --version
RuntimeName: cri-o
RuntimeVersion: 1.27.0
RuntimeApiVersion: v1OS version
Details
# On Linux:
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
Additional environment details (AWS, VirtualBox, physical, etc.)
Details
Physicalhasan4791 and EmilyShepherd
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.