Skip to content

Instantly share code, notes, and snippets.

@ikurni
Last active February 9, 2020 11:41
Show Gist options
  • Save ikurni/9d3775617badb7fcf34d2ad613ccc0d1 to your computer and use it in GitHub Desktop.
Save ikurni/9d3775617badb7fcf34d2ad613ccc0d1 to your computer and use it in GitHub Desktop.
OCP4-change-default-nodeselector-by-operator
#[root@prodcluster-bastion ~]# oc edit ingresscontrollers.operator.openshift.io/default -n openshift-ingress-operator
apiVersion: operator.openshift.io/v1
kind: IngressController
metadata:
creationTimestamp: "2020-02-08T08:29:55Z"
finalizers:
- ingresscontroller.operator.openshift.io/finalizer-ingresscontroller
generation: 2
name: default
namespace: openshift-ingress-operator
resourceVersion: "160507"
selfLink: /apis/operator.openshift.io/v1/namespaces/openshift-ingress-operator/ingresscontrollers/default
uid: 2f4dac65-4a4d-11ea-a841-00505690aee0
spec:
nodePlacement:
nodeSelector:
matchLabels:
infra: "true"
replicas: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment