mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
21 lines
736 B
Plaintext
21 lines
736 B
Plaintext
:_mod-docs-content-type: PROCEDURE
|
|
[id="setting-custom-seccomp-profile_{context}"]
|
|
= Setting up the custom seccomp profile
|
|
|
|
.Prerequisite
|
|
* You have cluster administrator permissions.
|
|
* You have created a custom security context constraints (SCC). For more information, see "Additional resources".
|
|
* You have created a custom seccomp profile.
|
|
|
|
.Procedure
|
|
. Upload your custom seccomp profile to `/var/lib/kubelet/seccomp/<custom-name>.json` by using the Machine Config. See "Additional resources" for detailed steps.
|
|
|
|
. Update the custom SCC by providing reference to the created custom seccomp profile:
|
|
+
|
|
[source, yaml]
|
|
----
|
|
seccompProfiles:
|
|
- localhost/<custom-name>.json <1>
|
|
----
|
|
<1> Provide the name of your custom seccomp profile.
|