컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
커스텀 AppArmor 프로필 사용
AppArmor를 사용하면 시스템 관리자가 커스텀 프로필을 사용하여 배포된 컨테이너의 기능을 제한할 수 있습니다. 일부 경우에는 기능을 맞춤설정하기 위해 배포된 컨테이너에 커스텀 프로필을 적용해야 할 수 있습니다.
AppArmor 프로필을 맞춤설정하려면 다음 안내를 따르세요.
마이그레이션된 컨테이너를 배포할 클러스터에서 프로필을 만듭니다.
자세한 내용은 AppArmor를 참조하세요.
deployment_spec.yaml
파일을 수정하여 AppArmor 프로필 이름으로 HC_APPARMOR_PROFILE
환경 변수를 추가합니다.
spec:
containers:
- image: gcr.io/my-project/my-container:v1.0.0
name: my-container
env:
- name: HC_APPARMOR_PROFILE
value: "apparmor-profile-name"
securityContext:
privileged: true
...
deployment_spec.yaml
수정에 대한 자세한 내용은 생성된 배포 파일 검토를 참조하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-12-07(UTC)
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]