Giter Site home page Giter Site logo

Kubernetes support? about diun HOT 22 CLOSED

crazy-max avatar crazy-max commented on May 18, 2024 2
Kubernetes support?

from diun.

Comments (22)

crazy-max avatar crazy-max commented on May 18, 2024 1

@mzac Kubernetes provider is available through release 4.0.0-beta.3 if you want to try out. Documentation is available here.

from diun.

mzac avatar mzac commented on May 18, 2024 1

Wow!!! This looks great! Looking forward to giving it a try!

from diun.

crazy-max avatar crazy-max commented on May 18, 2024 1

@mzac Yes that's it but you have to reference the regopts_id as an annotation for the pods using this registry. I will come up with a new feature soon to reference a default regopts based on the registry domain.

from diun.

crazy-max avatar crazy-max commented on May 18, 2024 1

@mzac

The auth settings seem to be for the local auth?

No it's a mstmp daemon. It acts as a relay like Postfix but less cumbersome and lightweight. Check this example to use it with gmail.

from diun.

mzac avatar mzac commented on May 18, 2024 1

@mzac

The auth settings seem to be for the local auth?

No it's a mstmp daemon. It acts as a relay like Postfix but less cumbersome and lightweight. Check this example to use it with gmail.

Awesome thanks I got it working :)

from diun.

crazy-max avatar crazy-max commented on May 18, 2024 1

Available: https://crazy-max.github.io/diun/changelog/#400-20200622

from diun.

crazy-max avatar crazy-max commented on May 18, 2024

Looks ok to me, thanks for your input.

from diun.

mzac avatar mzac commented on May 18, 2024

Hmm.. I got it up and running but I'm getting errors. Something isn't working right

Thu, 18 Jun 2020 09:16:53 EDT INF Starting Diun version=4.0.0-beta.3
Thu, 18 Jun 2020 09:16:54 EDT WRN No notifier available
Thu, 18 Jun 2020 09:16:54 EDT INF Cron triggered
Thu, 18 Jun 2020 09:16:54 EDT ERR Cannot list Kubernetes pods error="pods is forbidden: User \"system:serviceaccount:diun:diun\" cannot list resource \"pods\" in API group \"\" at the cluster scope" provider=kubernetes
Thu, 18 Jun 2020 09:16:54 EDT WRN No image found
Thu, 18 Jun 2020 09:16:54 EDT INF Cron initialized with schedule */30 * * * *
Thu, 18 Jun 2020 09:16:54 EDT INF Next run in 13 minutes (2020-06-18 09:30:00 -0400 EDT)

This is my deployment.yaml:

# --------------------------------------------------------------------------------
# Namespace
---
apiVersion: v1
kind: Namespace
metadata:
    name: diun

# --------------------------------------------------------------------------------
# Service Account
---
apiVersion: v1
kind: ServiceAccount
metadata:
  namespace: diun
  name: diun

# --------------------------------------------------------------------------------
# Cluster Role
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  namespace: diun
  name: diun
rules:
  - apiGroups:
      - ""
    resources:
      - pods
    verbs:
      - get
      - watch
      - list

# --------------------------------------------------------------------------------
# Cluster Role Binding
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  namespace: diun
  name: diun
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: diun
subjects:
  - kind: ServiceAccount
    name: diun
    namespace: default

# --------------------------------------------------------------------------------
# Deployment
---
apiVersion: apps/v1
kind: Deployment
metadata:
  namespace: diun
  name: diun
spec:
  replicas: 1
  selector:
    matchLabels:
      app: diun
  template:
    metadata:
      labels:
        app: diun
      annotations:
        diun.enable: "true"
        diun.watch_repo: "true"
    spec:
      serviceAccountName: diun
      containers:
        - name: diun
          image: crazymax/diun:4.0.0-beta.3
          imagePullPolicy: Always
          env:
            - name: TZ
              value: "America/Montreal"
            - name: LOG_LEVEL
              value: "info"
            - name: LOG_JSON
              value: "false"
            - name: DIUN_WATCH_WORKERS
              value: "20"
            - name: DIUN_WATCH_SCHEDULE
              value: "*/30 * * * *"
            - name: DIUN_PROVIDERS_KUBERNETES
              value: "true"
          volumeMounts:
            - mountPath: "/data"
              name: diun-data
      restartPolicy: Always
      volumes:
      - name: diun-data
        nfs:
          server: 192.168.0.6
          path: /volume1/k3s/diun
      nodeSelector:
        kubernetes.io/arch: amd64
        node-role.kubernetes.io/vm: ""

from diun.

crazy-max avatar crazy-max commented on May 18, 2024

@mzac Looking at your rbac, the service account system:serviceaccount:diun:diun is not allowed to list pods in all namespaces (default). Try to set DIUN_PROVIDERS_KUBERNETES_NAMESPACES=diun env var.

from diun.

mzac avatar mzac commented on May 18, 2024

Ok I added it and redployed but still getting an error

    Environment:
      TZ:                                    America/Montreal
      LOG_LEVEL:                             info
      LOG_JSON:                              false
      DIUN_WATCH_WORKERS:                    20
      DIUN_WATCH_SCHEDULE:                   */30 * * * *
      DIUN_PROVIDERS_KUBERNETES:             true
      DIUN_PROVIDERS_KUBERNETES_NAMESPACES:  diun
Thu, 18 Jun 2020 13:39:45 EDT INF Starting Diun version=4.0.0-beta.3
Thu, 18 Jun 2020 13:39:46 EDT WRN No notifier available
Thu, 18 Jun 2020 13:39:46 EDT INF Cron triggered
Thu, 18 Jun 2020 13:39:46 EDT ERR Cannot list Kubernetes pods error="pods is forbidden: User \"system:serviceaccount:diun:diun\" cannot list resource \"pods\" in API group \"\" in the namespace \"diun\"" provider=kubernetes
Thu, 18 Jun 2020 13:39:46 EDT WRN No image found
Thu, 18 Jun 2020 13:39:46 EDT INF Cron initialized with schedule */30 * * * *
Thu, 18 Jun 2020 13:39:46 EDT INF Next run in 20 minutes (2020-06-18 14:00:00 -0400 EDT)

from diun.

mzac avatar mzac commented on May 18, 2024

Ah found it!

This is what I had:

# --------------------------------------------------------------------------------
# Cluster Role Binding
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  namespace: diun
  name: diun
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: diun
subjects:
  - kind: ServiceAccount
    name: diun
    namespace: default

changed it to:

# --------------------------------------------------------------------------------
# Cluster Role Binding
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  namespace: diun
  name: diun
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: diun
subjects:
  - kind: ServiceAccount
    name: diun
    namespace: diun

^^^ the namespace in the subject.

Thu, 18 Jun 2020 13:55:41 EDT INF Starting Diun version=4.0.0-beta.3
Thu, 18 Jun 2020 13:55:41 EDT WRN No notifier available
Thu, 18 Jun 2020 13:55:41 EDT INF Cron triggered
Thu, 18 Jun 2020 13:55:41 EDT INF Found 1 image(s) to analyze provider=kubernetes
Thu, 18 Jun 2020 13:55:43 EDT INF New image found image=docker.io/crazymax/diun:4.0.0-beta.3 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:2.1.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:latest provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:3.0.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:3.0.0-beta.2 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:2.2.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:edge provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:3.0.0-beta.1 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:2.4.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:3.0.0-beta.3 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:2.6.1 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:nightly provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:2.3.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:2.6.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:4.0.0-beta.1 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:2.5.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:4.0.0-beta.2 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:2.2.1 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:3.0.0-beta.4 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:3.0.0-beta.5 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:1.2.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:0.4.1 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:1.3.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:0.4.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:0.3.1 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:1.0.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:1.1.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:0.3.2 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:0.5.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:1.0.2 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:1.0.1 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:0.3.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:0.2.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:0.1.1 provider=kubernetes
Thu, 18 Jun 2020 13:55:44 EDT INF New image found image=docker.io/crazymax/diun:2.0.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:45 EDT INF New image found image=docker.io/crazymax/diun:0.1.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:45 EDT INF New image found image=docker.io/crazymax/diun:1.4.1 provider=kubernetes
Thu, 18 Jun 2020 13:55:45 EDT INF New image found image=docker.io/crazymax/diun:1.4.0 provider=kubernetes
Thu, 18 Jun 2020 13:55:45 EDT INF Cron initialized with schedule */30 * * * *
Thu, 18 Jun 2020 13:55:45 EDT INF Next run in 4 minutes (2020-06-18 14:00:00 -0400 EDT)

from diun.

crazy-max avatar crazy-max commented on May 18, 2024

@mzac Good catch!

from diun.

mzac avatar mzac commented on May 18, 2024

@mzac Good catch!

Thx, now I just need to figure out how to make it watch the rest of my containers (all in different name spaces) and send me notifications!

from diun.

crazy-max avatar crazy-max commented on May 18, 2024

@mzac Yeah I think you have to create a "wide" serviceAccount in your cluster to allow that.

from diun.

crazy-max avatar crazy-max commented on May 18, 2024

@mzac This should work:

apiVersion: v1
kind: ServiceAccount
metadata:
  namespace: default
  name: diun
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: diun
rules:
  - apiGroups:
      - ""
    resources:
      - pods
    verbs:
      - get
      - watch
      - list
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: diun
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: diun
subjects:
  - kind: ServiceAccount
    name: diun
    namespace: default

See also https://stackoverflow.com/a/55594676/514571

from diun.

mzac avatar mzac commented on May 18, 2024

Ok I see now. However my setup has all my different deployments in different namespaces which means I would have to use DIUN_PROVIDERS_KUBERNETES_NAMESPACES and specify all the namespaces to watch? Can a wildcard be used to tell it to watch all namespaces?

from diun.

crazy-max avatar crazy-max commented on May 18, 2024

@mzac All namespaces are watched by default if you don't set the namespaces var.

from diun.

mzac avatar mzac commented on May 18, 2024

Ok yes I see that now.. Got it working. I'm guessing the errors below are for my private gitlab registry, can I add the credentials?

I would have to configure these environment variables?
https://github.com/crazy-max/diun/blob/v4/doc/configuration.md#regopts

Thu, 18 Jun 2020 14:45:15 EDT INF Starting Diun version=4.0.0-beta.3
Thu, 18 Jun 2020 14:45:15 EDT INF Database migration v2...
Thu, 18 Jun 2020 14:45:15 EDT INF Cron triggered
Thu, 18 Jun 2020 14:45:15 EDT INF Found 71 image(s) to analyze provider=kubernetes
Thu, 18 Jun 2020 14:45:16 EDT INF New image found image=quay.io/jetstack/cert-manager-cainjector:v0.15.1 provider=kubernetes
Thu, 18 Jun 2020 14:45:16 EDT INF New image found image=quay.io/jetstack/cert-manager-controller:v0.15.1 provider=kubernetes
Thu, 18 Jun 2020 14:45:16 EDT INF New image found image=docker.io/rancher/coredns-coredns:1.6.3 provider=kubernetes
Thu, 18 Jun 2020 14:45:16 EDT INF New image found image=quay.io/jetstack/cert-manager-webhook:v0.15.1 provider=kubernetes
Thu, 18 Jun 2020 14:45:16 EDT INF New image found image=docker.io/crazymax/diun:4.0.0-beta.3 provider=kubernetes
Thu, 18 Jun 2020 14:45:16 EDT INF New image found image=docker.io/homeassistant/home-assistant:latest provider=kubernetes
Thu, 18 Jun 2020 14:45:18 EDT INF New image found image=docker.io/crazymax/diun:2.6.1 provider=kubernetes
Thu, 18 Jun 2020 14:45:18 EDT INF New image found image=docker.io/crazymax/diun:nightly provider=kubernetes
Thu, 18 Jun 2020 14:45:18 EDT INF New image found image=docker.io/crazymax/diun:2.4.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:18 EDT INF New image found image=docker.io/crazymax/diun:2.5.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:18 EDT INF New image found image=docker.io/crazymax/diun:2.2.1 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:latest provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:3.0.0-beta.2 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:2.1.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:3.0.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:2.2.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:2.6.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:4.0.0-beta.2 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:3.0.0-beta.1 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:edge provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:3.0.0-beta.4 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:3.0.0-beta.5 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:2.3.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:4.0.0-beta.1 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:3.0.0-beta.3 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:2.0.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:1.3.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:1.2.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:1.4.1 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:0.4.1 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:1.1.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:1.0.2 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:1.0.1 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:1.4.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:1.0.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:0.3.1 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:0.3.2 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:0.4.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:0.5.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:0.1.1 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:0.1.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:19 EDT INF New image found image=docker.io/crazymax/diun:0.2.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT INF New image found image=docker.io/crazymax/diun:0.3.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT INF New image found image=docker.io/esphome/esphome:1.14.4 provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT ERR Cannot run job error="Requesting bear token: invalid status code from registry 403 (Forbidden)" provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT INF New image found image=docker.io/grafana/grafana:7.0.3 provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT INF New image found image=docker.io/library/haproxy:latest provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT INF New image found image=docker.io/library/influxdb:latest provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT INF New image found image=docker.io/phpmyadmin/phpmyadmin:latest provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT INF New image found image=docker.io/rancher/local-path-provisioner:v0.0.11 provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT INF New image found image=docker.io/rancher/metrics-server:v0.3.6 provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT INF New image found image=docker.io/librenms/librenms:1.64.1 provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT INF New image found image=docker.io/pihole/pihole:v5.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT INF New image found image=docker.io/library/memcached:alpine provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT INF New image found image=docker.io/portainer/portainer-k8s-beta:linux-arm provider=kubernetes
Thu, 18 Jun 2020 14:45:20 EDT INF New image found image=docker.io/minio/minio:latest provider=kubernetes
Thu, 18 Jun 2020 14:45:21 EDT INF New image found image=docker.io/codercom/code-server:latest provider=kubernetes
Thu, 18 Jun 2020 14:45:21 EDT INF New image found image=docker.io/gitlab/gitlab-runner:alpine-v13.0.1 provider=kubernetes
Thu, 18 Jun 2020 14:45:21 EDT INF New image found image=docker.io/prom/prometheus:latest provider=kubernetes
Thu, 18 Jun 2020 14:45:21 EDT INF New image found image=docker.io/linuxserver/librespeed:latest provider=kubernetes
Thu, 18 Jun 2020 14:45:21 EDT INF New image found image=docker.io/rancher/klipper-lb:v0.1.2 provider=kubernetes
Thu, 18 Jun 2020 14:45:22 EDT INF New image found image=docker.io/stefanscherer/whoami:latest provider=kubernetes
Thu, 18 Jun 2020 14:45:22 EDT INF New image found image=docker.io/crazymax/rrdcached:latest provider=kubernetes
Thu, 18 Jun 2020 14:45:22 EDT INF New image found image=docker.io/linuxserver/sickchill:latest provider=kubernetes
Thu, 18 Jun 2020 14:45:23 EDT INF New image found image=docker.io/rancher/library-traefik:1.7.19 provider=kubernetes
Thu, 18 Jun 2020 14:45:23 EDT INF New image found image=docker.io/rancher/system-upgrade-controller:v0.4.0 provider=kubernetes
Thu, 18 Jun 2020 14:45:23 EDT INF New image found image=docker.io/jessestuart/tiller:latest provider=kubernetes
Thu, 18 Jun 2020 14:45:24 EDT INF New image found image=quay.io/external_storage/nfs-client-provisioner-arm:v3.1.0-k8s1.11 provider=kubernetes
Thu, 18 Jun 2020 14:45:24 EDT INF Cron initialized with schedule */30 * * * *
Thu, 18 Jun 2020 14:45:24 EDT INF Next run in 14 minutes (2020-06-18 15:00:00 -0400 EDT)

from diun.

mzac avatar mzac commented on May 18, 2024

Notifications via Telegram are working, still having some issues with smtp but I think I have some issues with my postfix container.

image

from diun.

crazy-max avatar crazy-max commented on May 18, 2024

@mzac

still having some issues with smtp but I think I have some issues with my postfix container.

Maybe you can take a look at my mstmpd image ;)

from diun.

mzac avatar mzac commented on May 18, 2024

@mzac

still having some issues with smtp but I think I have some issues with my postfix container.

Maybe you can take a look at my mstmpd image ;)

Looks interesting but I need to relay through gmail. I'm currently using https://github.com/panubo/docker-postfix however my issues seem to be related to TLS. From your docs on msmtpd I don't see how I can relay through gmail? The auth settings seem to be for the local auth?

from diun.

crazy-max avatar crazy-max commented on May 18, 2024

@mzac

@mzac Yes that's it but you have to reference the regopts_id as an annotation for the pods using this registry. I will come up with a new feature soon to reference a default regopts based on the registry domain.

4.0.0-beta.4 can now automatically determine registry options based on image name. More info: https://github.com/crazy-max/diun/blob/v4/docs/config/regopts.md

from diun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.