Browse Source

Изменить 'README.md'

master
Vladimir Smagin 1 year ago
parent
commit
8d2b3fc5c7
1 changed files with 32 additions and 0 deletions
  1. +32
    -0
      README.md

+ 32
- 0
README.md View File

@@ -47,3 +47,35 @@ spec:
# run collectstatic in init container before run
runCollectStatic: False
```

## Full Spec

### image specific settings

- `PullPolicy`: its usual `imagePullPolicy`, default `IfNotPresent`
- `Image`: string, required, format `<image>:<tag>`
- `Replicas`: integer, default `1`

### manage resources

Read more about resources limiting here https://kubernetes.io/docs/concepts/policy/resource-quotas/

- `PodRequests`: default is empty
- `PodLimits`: default is empty

Affinity and antiaffinity manual https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity

- `Affinity`: default is empty

### set annotations to service and pod

- `ServiceAnnotations`: `<key>: <value>` dict, default is empty
- `PodAnnotations`: `<key>: <value>` dict, default is empty

### application specific configuration

- `AppPort`: integer, internal application port, default `8000`
- `AppEnv`: EnvVar array, default is empty
- `AppStaticPath`: string, path to static files, default `/app/static`
- `RunMigrate`: bool, run migrations at init stage, default `False`
- `RunCollectStatic`: bool, run collectstatic at init stage, default `False`

Loading…
Cancel
Save