Skip to main content

Note

While using ServiceFoundry python SDK type is not a required field in any of the imported classes

Service

Description

Describes the configuration for the service

Schema

Properties

Python Examples

Building using a Python Build pack
Building using a Dockerfile
This is useful if you have an already written Dockerfile
Using an already existing Image from an Image Registry
Note: The remote Image Registry should either be public or added to TrueFoundry Platform via the Integrations Tab
Deploying from a Git Repository
Note: The remote Git server (Github or Bitbucket) needs to be connected via the Integrations Tab

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

Python Examples

HealthProbe

Description

Describes the configuration for the Health Probe’s
To learn more you can go here

Schema

Properties

Python Examples


Port

Port

Description

Describes the ports the service should be exposed to.

Schema

Properties

Enumerate Values

Python Examples