https://pulumi.com logo
#dotnet
Title
# dotnet
f

fierce-memory-34976

09/21/2020, 11:19 AM
also, can anyone help me with the following:
Copy code
apiVersion: <http://cloud.google.com/v1|cloud.google.com/v1>
kind: BackendConfig
metadata:
  name: my-backendconfig
spec:
  healthCheck:
    checkIntervalSec: interval
    timeoutSec: timeout
    healthyThreshold: health-threshold
    unhealthyThreshold: unhealthy-threshold
    type: protocol
    requestPath: path
    port: port
Is it possible to create such resource with pulumi C# and if yes, what's it's name and how do i tell the ingress resource to use this config? i need this to customize the health check endpoint for my ingress configuration
I have found out that I don't have to create this resource. Instead I can configure this in the deployment spec with:
ReadinessProbe = new ProbeArgs
{
HttpGet = new HTTPGetActionArgs
{
Path = "/healthz",
Port = 80
}
}