oneuptime/Ci
Carl Downing abe7794f60 script
2023-07-30 13:44:33 -07:00
..
init-script fix deploy jobs 2022-11-04 15:19:04 +01:00
scripts script 2023-07-30 13:44:33 -07:00
README.md fix 2022-04-10 22:50:28 +01:00

Setup Production Server

Run the production.yml file.

run the file specific to the project with their specific names. kubectl create -f production.yml

Known Issues

Issue 1

Sometimes you'll see this error

$ kubectl create -f staging.yaml
error: SchemaError(io.k8s.api.apps.v1beta2.DeploymentCondition): invalid object doesn't have additional properties

Solution:

Run the kubectl command with validate false

$ kubectl create -f staging.yaml --validate=false