Skip to content

Instantly share code, notes, and snippets.

@cblecker
Created June 30, 2021 17:24
Show Gist options
  • Save cblecker/dade98f5ff04091c77d7a3656fd83d79 to your computer and use it in GitHub Desktop.
Save cblecker/dade98f5ff04091c77d7a3656fd83d79 to your computer and use it in GitHub Desktop.
apiVersion: tuned.openshift.io/v1
kind: Tuned
metadata:
name: expand-nat-port-range
namespace: openshift-cluster-node-tuning-operator
spec:
profile:
- data: |
[main]
summary=A custom OpenShift network tuning profile
include=openshift-node
[sysctl]
net.ipv4.ip_local_port_range="1024 65535"
name: custom-expand-nat-port-range
recommend:
- match:
- label: pod-label-key
value: "pod-label-value"
type: pod
priority: 10
profile: custom-expand-nat-port-range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment