리뷰 AHYBRID072 Enforcing Policy with Anthos Config Management Policy Controller개

리뷰 1799개

Konrad S. · 1년 초과 전에 리뷰됨

Chethan A. · 1년 초과 전에 리뷰됨

Paulo R. · 1년 초과 전에 리뷰됨

Arturo N. · 1년 초과 전에 리뷰됨

Eduardo H. · 1년 초과 전에 리뷰됨

Eduardo H. · 1년 초과 전에 리뷰됨

Felix O. · 1년 초과 전에 리뷰됨

Akhilesh R. · 1년 초과 전에 리뷰됨

Tiago C. · 1년 초과 전에 리뷰됨

Lab Broken

Ray C. · 1년 초과 전에 리뷰됨

Cuauhtémoc C. · 1년 초과 전에 리뷰됨

There is this small bug: student_00_ff1a823507ac@cloudshell:~ (qwiklabs-gcp-01-48f0915fc630)$ cat config-management.yaml apiVersion: configmanagement.gke.io/v1 kind: ConfigManagement metadata: name: config-management applySpecVersion: 1 spec: # Set to true to install and enable Policy Controller policyController: enabled: true # Uncomment to prevent the template library from being installed # templateLibraryInstalled: false # Uncomment to enable support for referential constraints # referentialRulesEnabled: true # Uncomment to disable audit, adjust value to set audit interval # auditIntervalSeconds: 0 # Uncomment to log all denies and dryrun failures # logDeniesEnabled: true # Uncomment to exempt namespaces # exemptableNamespaces: ["namespace-name"] # ...other fields... student_00_ff1a823507ac@cloudshell:~ (qwiklabs-gcp-01-48f0915fc630)$ gcloud beta container fleet config-management apply --membership=${CLUSTER_NAME}-connect --config=config-management.yaml --project=$PROJECT_ID ERROR: (gcloud.beta.container.fleet.config-management.apply) Please remove illegal field(s) .apiVersion, .kind, .metadata student_00_ff1a823507ac@cloudshell:~ (qwiklabs-gcp-01-48f0915fc630)$ Solution To resolve this issue, you need to remove the illegal fields from your YAML file. Here’s how you can modify your config-management.yaml: Remove the following lines: apiVersion: configmanagement.gke.io/v1 kind: ConfigManagement metadata: Your modified YAML should look like this: yaml applySpecVersion: 1 spec: policyController: enabled: true # Uncomment to prevent the template library from being installed # templateLibraryInstalled: false # Uncomment to enable support for referential constraints # referentialRulesEnabled: true # Uncomment to disable audit, adjust value to set audit interval # auditIntervalSeconds: 0 # Uncomment to log all denies and dryrun failures # logDeniesEnabled: true # Uncomment to exempt namespaces # exemptableNamespaces: ["namespace-name"] # ...other fields... Re-run the command: After making these changes, try running the command again: bash gcloud beta container fleet config-management apply --membership=${CLUSTER_NAME}-connect --config=config-management.yaml --project=$PROJECT_ID

Bojan S. · 1년 초과 전에 리뷰됨

Lucas O. · 1년 초과 전에 리뷰됨

Alejandro M. · 1년 초과 전에 리뷰됨

Leontinus Y. · 1년 초과 전에 리뷰됨

Good Lab. But there is an issue. In Task 2 Create the Anthos Policy Controller config file, the config file ended to "ERROR: (gcloud.beta.container.fleet.config-management.apply) Please remove illegal field(s) .apiVersion, .kind, .metadata". Please investgate.

Rose C. · 1년 초과 전에 리뷰됨

Erick A. · 1년 초과 전에 리뷰됨

Lab is broken. # In Task 2: student_01_fe0f92db9b0c@cloudshell:~ (qwiklabs-gcp-02-ea36254591ad)$ gcloud beta container fleet config-management apply \ --membership=${CLUSTER_NAME}-connect \ --config=config-management.yaml \ --project=$PROJECT_ID ERROR: (gcloud.beta.container.fleet.config-management.apply) Please remove illegal field(s) .apiVersion, .kind, .metadata

Marcelo B. · 1년 초과 전에 리뷰됨

Received the following error and removed the fields identified in order to complete the lab: ERROR: (gcloud.beta.container.fleet.config-management.apply) Please remove illegal field(s) .apiVersion, .kind, .metadata

Jason S. · 1년 초과 전에 리뷰됨

Jordan T. · 1년 초과 전에 리뷰됨

Marek K. · 1년 초과 전에 리뷰됨

Marek K. · 1년 초과 전에 리뷰됨

Marek K. · 1년 초과 전에 리뷰됨

Piotr J. · 1년 초과 전에 리뷰됨

Suraj G. · 1년 초과 전에 리뷰됨

Google은 게시된 리뷰가 제품을 구매 또는 사용한 소비자에 의해 작성되었음을 보증하지 않습니다. 리뷰는 Google의 인증을 거치지 않습니다.