You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When defining snapshot rules for PVCs on GKE I'm getting rule.invalid errors. Relevant config and outputs are below. I'm happy to troubleshoot this, but I could use some guidance on where to begin.
Deployment
kubectl describe deployments --namespace=kube-system k8s-snapshot
Name: k8s-snapshot
Namespace: kube-system
CreationTimestamp: Wed, 10 Oct 2018 09:23:01 -0700
Labels: app=k8s-snapshot
chart=k8s-snapshot-0.1.0
heritage=Tiller
release=k8s-snapshot
Annotations: deployment.kubernetes.io/revision=1
Selector: app=k8s-snapshot,release=k8s-snapshot
Replicas: 1 desired | 1 updated | 1 total | 1 available | 0 unavailable
StrategyType: RollingUpdate
MinReadySeconds: 0
RollingUpdateStrategy: 25% max unavailable, 25% max surge
Pod Template:
Labels: app=k8s-snapshot
release=k8s-snapshot
Containers:
k8s-snapshot:
Image: elsdoerfer/k8s-snapshots:v2.0
Port: <none>
Environment:
GCLOUD_JSON_KEYFILE_NAME: /var/secrets/google-application-credentials/credentials.json
USE_CLAIM_NAME: true
LOG_LEVEL: DEBUG
Mounts:
/var/secrets/google-application-credentials/ from google-application-credentials (ro)
Volumes:
google-application-credentials:
Type: Secret (a volume populated by a Secret)
SecretName: google-application-credentials
Optional: false
Conditions:
Type Status Reason
---- ------ ------
Progressing True NewReplicaSetAvailable
Available True MinimumReplicasAvailable
OldReplicaSets: <none>
NewReplicaSet: k8s-snapshot-558c758f86 (1/1 replicas created)
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal ScalingReplicaSet 26m (x4 over 37m) deployment-controller Scaled down replica set k8s-snapshot-558c758f86 to 0
Normal ScalingReplicaSet 26m (x5 over 47m) deployment-controller Scaled up replica set k8s-snapshot-558c758f86 to 1
When defining snapshot rules for PVCs on GKE I'm getting
rule.invalid
errors. Relevant config and outputs are below. I'm happy to troubleshoot this, but I could use some guidance on where to begin.Deployment
SnapshotRule Definition:
CRD definition
PVC definition
LOG output
The text was updated successfully, but these errors were encountered: