GitHub - IBM/ibm-common-service-webhook: It is a pod preset mutating admission w...
source link: https://github.com/IBM/ibm-common-service-webhook
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
ibm-common-service-webhook
It is a pod preset mutating admission webhook for the ibm-common-service-operator. Check the design document here. This operator is from implement of podpreset
In order to solve the a known dns issue which causes a 5 seconds dns resolving delay in the Openshift and Kubernetes.
This webhook will add dnsconfig into the pods
template:
spec:
dnsConfig:
options:
- name: single-request-reopen
Supported platforms
-
Red Hat OpenShift Container Platform 4.2 or newer installed on one of the following platforms:
- Linux x86_64
- Linux on Power (ppc64le)
- Linux on IBM Z and LinuxONE
Operator versions
The operator version is 0.0.1
Quick start guide
Use the following quick start commands for building and testing the operator:
make install
Debugging guide
Use the following commands to debug the operator:
oc describe deploy <ibm-common-service-webhook pod> -n ibm-common-services
oc logs <ibm-common-service-webhook pod>
oc get MutatingWebhookConfiguration mutating-webhook-configuration -oyaml
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK