Note
While using TrueFoundry python SDKtype is not a required field in any of the imported classesService
Description
Describes the configuration for the serviceSchema
Properties
Liveliness/Readiness Probe
The modules below help configuring the Health Probes for the Service. Learn more about Health Probes here.HttpProbe
Description
Describes the Instructions for assessing container health by executing an HTTP GET request.To learn more you can go here
Schema
Properties
HealthProbe
Description
Describes the configuration for the Health Probe’sTo learn more you can go here
Schema
Properties
Port
Description
Describes the ports the service should be exposed to.Schema
Properties
Enumerate Values
RolloutStrategy
Rolling
Description
This strategy updates the pods in a rolling fashion such that a subset of thetotal pods are replaced with new version at one time.
A commonly used strategy can be to have maxUnavailablePercentage close to 0 so that there
is no downtime and keep the maxSurgePercentage to around 25%. If you are anyways running
a large number of pods, the service can often tolerate a few pods going down - so you
max maxUnavailablePercentage = 10 and maxSurgePercentage=0. You can read about it more
here
Schema
Properties
Canary
Description
This strategy brings up the new release without bringing the older release down. Traffic is shifted from the older release to the newer release in a staged manner.This can help with verifying the health of the new release without shifting complete traffic.
Schema
Properties
CanaryStep
Description
Describes a canary deployment stepSchema
Properties
BlueGreen
Description
This strategy brings up the new release completely before switching the complete load to the new release.This minimizes the time that two versions are serving traffic at the same time.