Enable Personalized Service Health for a project using Config Connector
Stay organized with collections
Save and categorize content based on your preferences.
This document explains how to enable a project for service health events
processing using Config Connector
programmatically, if you're using Kubernetes and want to use the
Service Health API.
Follow the prerequisites
for using Config Connector.
Decide on the API VERSION: v1 or v1beta.
Create a file named psh-enable.yaml and copy the following snippet into it:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Enable Personalized Service Health for a project using Config Connector\n\nThis document explains how to enable a project for service health events\nprocessing using [Config Connector](https://cloud.google.com/config-connector/docs/overview)\nprogrammatically, if you're using Kubernetes and want to use the\nService Health API.\n\n1. Follow the [prerequisites](https://cloud.google.com/config-connector/docs/how-to/getting-started#before_you_begin)\n for using Config Connector.\n\n2. Decide on the \u003cvar class=\"readonly\" scope=\"API_VERSION\" translate=\"no\"\u003eAPI VERSION\u003c/var\u003e: `v1` or `v1beta`.\n\n3. Create a file named `psh-enable.yaml` and copy the following snippet into it:\n\n apiVersion: serviceusage.cnrm.cloud.google.com/\u003cvar scope=\"API_VERSION\" translate=\"no\"\u003eAPI VERSION\u003c/var\u003e\n kind: Service\n metadata:\n name: servicehealth.googleapis.com\n spec:\n projectRef:\n external: projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e\n\n4. Run the following command:\n\n kubectl apply -f psh-enable.yaml \n\n The following message appears: \n\n service.serviceusage.cnrm.cloud.google.com/servicehealth.googleapis.com created\n\nPersonalized Service Health will take up to 24 hours to start processing service health\nevents."]]