Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runaway sidecar injection loop #1308

Open
jasonparekh opened this issue Feb 9, 2021 · 2 comments
Open

Runaway sidecar injection loop #1308

jasonparekh opened this issue Feb 9, 2021 · 2 comments

Comments

@jasonparekh
Copy link

BackupConfiguration:

apiVersion: stash.appscode.com/v1beta1
kind: BackupConfiguration
metadata:
  name: mongo-backup
spec:
  runtimeSettings:
    container:
      securityContext:
        runAsUser: 0
        runAsGroup: 0
  repository:
    name: gcs-repo
  schedule: "0 0 * * */7"
  target:
    ref:
      apiVersion: apps/v1
      kind: StatefulSet
      name: mongo
    volumeMounts:
    - name: datadir
      mountPath: /data/db
    paths:
    - /data/db
  retentionPolicy:
    name: 'keep-last-5'
    keepLast: 5
    prune: true

Repository:

apiVersion: stash.appscode.com/v1alpha1
kind: Repository
metadata:
  name: gcs-repo
spec:
  backend:
    gcs:
      bucket: test-kubedb
      prefix: stash/mongo
    storageSecretName: mg-snap-secret

Things generally looked good:

kubectl describe backupconfiguration
Name:         mongo-backup
Namespace:    default
Labels:       <none>
Annotations:  kubectl.kubernetes.io/last-applied-configuration:
                {"apiVersion":"stash.appscode.com/v1beta1","kind":"BackupConfiguration","metadata":{"annotations":{},"name":"mongo-backup","namespace":"de...
API Version:  stash.appscode.com/v1beta1
Kind:         BackupConfiguration
Metadata:
  Creation Timestamp:  2021-02-09T03:24:29Z
  Finalizers:
    stash.appscode.com
  Generation:        1
  Resource Version:  759116
  Self Link:         /apis/stash.appscode.com/v1beta1/namespaces/default/backupconfigurations/mongo-backup
  UID:               18ce735b-d6d2-4d05-a914-840b5622863c
Spec:
  Driver:  Restic
  Repository:
    Name:  gcs-repo
  Retention Policy:
    Keep Last:  5
    Name:       keep-last-5
    Prune:      true
  Runtime Settings:
    Container:
      Security Context:
        Run As Group:  0
        Run As User:   0
  Schedule:            0 0 * * */7
  Target:
    Paths:
      /data/db
    Ref:
      API Version:  apps/v1
      Kind:         StatefulSet
      Name:         mongo
    Volume Mounts:
      Mount Path:  /data/db
      Name:        datadir
Status:
  Conditions:
    Last Transition Time:  2021-02-09T03:24:29Z
    Message:               Repository default/gcs-repo exist.
    Reason:                RepositoryAvailable
    Status:                True
    Type:                  RepositoryFound
    Last Transition Time:  2021-02-09T03:24:29Z
    Message:               Backend Secret default/mg-snap-secret exist.
    Reason:                BackendSecretAvailable
    Status:                True
    Type:                  BackendSecretFound
    Last Transition Time:  2021-02-09T03:24:29Z
    Message:               Backup target apps/v1 statefulset/mongo found.
    Reason:                TargetAvailable
    Status:                True
    Type:                  BackupTargetFound
    Last Transition Time:  2021-02-09T03:24:29Z
    Message:               Successfully injected stash sidecar into apps/v1 statefulset/mongo
    Reason:                SidecarInjectionSucceeded
    Status:                True
    Type:                  StashSidecarInjected
    Last Transition Time:  2021-02-09T03:24:29Z
    Message:               Successfully created backup triggering CronJob.
    Reason:                CronJobCreationSucceeded
    Status:                True
    Type:                  CronJobCreated
  Observed Generation:     1
Events:
  Type    Reason                            Age   From            Message
  ----    ------                            ----  ----            -------
  Normal  BackupSession Controller Started  25s   Backup Sidecar  BackupSession controller started successfully in pod default/mongo-2.

When I looked at my pods, mongo-2 kept looping between starting up and being terminated. Here's the few artifacts I found that relate to the issue (kubectl get events):

72s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
72s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
72s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
72s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
71s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
71s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
70s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
70s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
25s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
25s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
25s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
25s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
24s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
24s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
24s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
24s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
24s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
24s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
24s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
24s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
24s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
24s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
24s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
24s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
24s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
24s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
24s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
24s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
24s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
24s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
24s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
23s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
23s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
23s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
23s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
23s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
23s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
23s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
23s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
23s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
23s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
22s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
22s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
22s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
22s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
22s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
22s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
22s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
22s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
22s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
22s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
22s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
22s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
22s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
22s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
22s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
22s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
22s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
22s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
22s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
22s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
22s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
22s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
22s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
21s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
21s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
21s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
21s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
21s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
21s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
21s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
21s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
21s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
21s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
21s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
21s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
21s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
21s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
21s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
21s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
21s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
21s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
21s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
21s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
20s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
20s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
20s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
20s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
20s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
20s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
20s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
20s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
20s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
20s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
20s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
20s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
20s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
20s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
20s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
20s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
20s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
19s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
19s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
19s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
19s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
19s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
19s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
19s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
19s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
19s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
19s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
19s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
19s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
19s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
19s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
19s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
19s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
19s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
19s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
19s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
19s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
19s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
19s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
18s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
18s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
18s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
18s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
18s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
18s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
18s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
18s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
18s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
18s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
17s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
17s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
17s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
17s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
17s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
17s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
17s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
17s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
17s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
17s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
17s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
17s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
17s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
17s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
17s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
17s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
17s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
17s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
17s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
17s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
16s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
16s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
16s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
16s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
16s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
16s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
16s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
16s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
16s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
16s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
16s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
16s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
16s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
16s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
15s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
15s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
15s         Normal    Successful                         mongodb/mongo                             Successfully patched
15s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
15s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
15s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
14s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
14s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
14s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
14s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
14s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
14s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
14s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
14s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
14s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
14s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
14s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
14s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
14s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
14s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
14s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
14s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
14s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
14s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
14s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
14s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
14s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
14s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
13s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
13s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
13s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
13s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
13s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
13s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
13s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
13s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
13s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
13s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
13s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
13s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
13s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
13s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
13s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
13s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
13s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
13s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
13s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
13s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
13s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
13s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
12s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
12s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
12s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
12s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
12s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
12s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
12s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
12s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
12s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
12s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
12s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
12s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
12s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
12s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
12s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
12s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
12s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
12s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
12s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
12s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
11s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
11s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
11s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
11s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
11s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
11s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
11s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
11s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
11s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
11s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
11s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
10s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
10s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
10s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
10s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
10s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
10s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
10s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
10s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
10s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
10s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
10s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
10s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
10s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
10s         Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
10s         Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
10s         Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
10s         Normal    Successful                         mongodb/mongo                             Successfully  stats service
9s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
9s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
9s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
9s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
9s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
9s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
9s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
9s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
9s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
9s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
9s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
9s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
9s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
9s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
9s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
9s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
9s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
9s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
9s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
8s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
8s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
8s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
8s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
8s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
8s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
8s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
8s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
8s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
8s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
8s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
8s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
8s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
8s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
8s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
8s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
8s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
7s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
7s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
7s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
7s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
7s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
7s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
7s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
7s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
7s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
7s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
7s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
7s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
7s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
7s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
7s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
6s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
6s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
6s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
6s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
6s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
6s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
6s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
6s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
6s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
6s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
6s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
6s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
6s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
6s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
6s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
6s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
5s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
5s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
5s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
5s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
5s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
5s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
5s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
5s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
5s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
5s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
5s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
5s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
5s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
5s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
5s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
5s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
5s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
5s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
5s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
5s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
4s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
4s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
4s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
4s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
4s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
4s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
4s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
4s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
4s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
4s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
4s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
4s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
4s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
4s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
4s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
4s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
3s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
3s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
3s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
3s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
3s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
3s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
3s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
3s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
3s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
3s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
3s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
2s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
2s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
2s          Normal    Successful                         mongodb/mongo                             Successfully patched StatefulSet default/mongo
2s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB
2s          Normal    Sidecar Injection Succeeded        statefulset/mongo                         Successfully injected stash sidecar into StatefulSet default/mongo.
2s          Normal    Successful                         mongodb/mongo                             Successfully  stats service
2s          Normal    Successful                         mongodb/mongo                             Successfully patched MongoDB

I've since deleted the BackupConfiguration and manually removed the sidecar from my sts (it wasn't removed automatically afte rremoving the BackupConfiguration). I could repro easily by re-applying my backupconfiguration.

@hossainemruz
Copy link
Contributor

How did you deployed your MongoDB. Did you used any operator?

@jasonparekh
Copy link
Author

jasonparekh commented Feb 9, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants