Remove Spot Instance taints set by the cloud provider.
kubectl apply -k github.com/norseto/taint-remover/config/default?ref=release-0.4
A sample is made for OCI.
kubectl apply -k github.com/norseto/taint-remover/config/samples?ref=release-0.4
You can examine the sample by kubectl kustomize
apiVersion: nodes.peppy-ratio.dev/v1alpha1
kind: TaintRemover
metadata:
labels:
app.kubernetes.io/created-by: taint-remover
app.kubernetes.io/instance: taintremover-sample
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: taintremover
app.kubernetes.io/part-of: taint-remover
name: taintremover-sample
namespace: taint-remover-system
spec:
taints:
- effect: NoSchedule
key: oci.oraclecloud.com/oke-is-preemptible