INT 21h

Hi, I am Vladimir Smagin, SysAdmin and Kaptain. Telegram Email / GIT / Микроблог / Thingiverse / RSS / GPG

Redis operator for Kubernetes

№ 10254 В разделах: Programming Sysadmin от August 27th, 2019,
В подшивках: , , , ,

Redis operator runs Sentinel and Redis, makes Redis high available with HAProxy.

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

MQTT operator for Kubernetes

№ 10248 В разделах: Programming Sysadmin от August 23rd, 2019,
В подшивках: , , , ,

Run multiple MQTT instances in your Kubernetes cluster. Can store persistent database.

Documentation and download here

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

Django operator for Kubernetes

№ 10240 В разделах: Programming Sysadmin от August 22nd, 2019,
В подшивках: , , , ,

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

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

PodRequests: default is empty
PodLimits: default is empty

Affinity and antiaffinity manual

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

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

WordPress operator for Kubernetes

№ 10224 В разделах: Programming Sysadmin от August 18th, 2019,
В подшивках: , , , ,

Run multiple WordPress instances in your Kubernetes cluster. Use internal or external database. Internal database means a single pod with MariaDB without any replication or clusterization, my WordPress operator is NOT MySQL operator. If you need database high availability use MySQL operator to create cluster.

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

scheme.AddGeneratedDeepCopyFuncs undefined

№ 10195 В разделе "Programming" от August 9th, 2019,
В подшивках:

pkg/apis/redis/v1/zz_generated.deepcopy.go:22:15: scheme.AddGeneratedDeepCopyFuncs undefined 
(type *"".Scheme has 
no field or method AddGeneratedDeepCopyFuncs)

pkg/apis/redis/v1/zz_generated.deepcopy.go:23:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:27:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:31:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:35:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:39:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:43:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:47:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:51:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:55:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:55:3: too many errors
^Cmake: *** [Makefile:14: bin/redis] Interrupt 

Update versions of client-go, api and apimachinery. Install code generation tools.

go get
go get
cd ~/go/src/
go install ./cmd/{defaulter-gen,client-gen,lister-gen,informer-gen,deepcopy-gen}

Now rebuild project.

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


Fortune cookie: seminars, n.: From 'semi' and 'arse', hence, any half-assed discussion.