INT 21h

Hi, I am Vladimir Smagin, SysAdmin, DevOps and barely good guy. Telegram Email / GIT / Микроблог / Thingiverse / GPG

Django operator for Kubernetes

№ 10240 В разделах: Администрирование Программирование от August 22nd, 2019,

You can run projects with collectstatic and migrations at init stage, provide ENVs, service and pods annotations.

https://git.blindage.org/21h/django-operator

Full Spec:

image specific settings

PullPolicy: 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

Нет комментариев »

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Микроблог перейти

# 2019-09-12 07:54:26

git.apache.org все еще не работает, но можно фиксануть go mod с помощью replace git.apache.org/thrift.git => github.com/apache/thrift v0.0.0-20180902110319-2566ecd5

# 2019-09-10 13:58:22

офигенное хранилище абсолютно бесплатных svg www.svgrepo.com/

# 2019-09-09 16:29:21

Цикл статей тщательно разжевывающих Amazon IAM, очень рекомендую для прочтения medium.com/@thomas.storm/aws-i medium.com/@thomas.storm/aws-i medium.com/@thomas.storm/aws-i medium.com/@thomas.storm/aws-i


© Vladimir Smagin, 2005-2019. Копирование материалов без разрешения запрещено. GPG DA4CD0F5E222EA727D6A40C413BCE12E5618F071 *
Яндекс.Метрика

Fortune cookie: I haven't been married in over six years, but we had sexual counseling every day from Oral Roberts!!