Comments (3)
Hey, could you share your deployment.yaml files?
From the logs it looks like the opposite is happening of what you have described:
-
Event:
msg="provider.kubernetes: processing event" registry= repository=ustwo/shifts tag=latest
-
This is skipped
parsed_image_name="index.docker.io/ustwo/shifts_api:latest"
(expected) -
This is updated
msg="provider.kubernetes: delta changed applied: ustwo/shifts:latest"
(expected)
from keel.
shifts deployment..
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "26"
keel.sh/update-image: ustwo/shifts:latest
creationTimestamp: 2017-08-08T14:49:37Z
generation: 29
labels:
app: shifts
keel.sh/policy: force
name: shifts
namespace: default
resourceVersion: "134423"
selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/shifts
uid: cc973a21-7c48-11e7-b30a-0667c411fdb7
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 2
selector:
matchLabels:
app: shifts
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: shifts
spec:
containers:
- image: ustwo/shifts:latest
imagePullPolicy: Always
name: shifts
ports:
- containerPort: 80
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: myregistrykey
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
status:
availableReplicas: 1
conditions:
- lastTransitionTime: 2017-08-09T14:01:14Z
lastUpdateTime: 2017-08-09T14:01:14Z
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: 2017-08-09T13:59:20Z
lastUpdateTime: 2017-08-09T14:18:26Z
message: ReplicaSet "shifts-1114249520" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
observedGeneration: 29
readyReplicas: 1
replicas: 1
updatedReplicas: 1
shifts-api deployment..
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "8"
keel.sh/update-image: ustwo/shifts_api:latest
creationTimestamp: 2017-08-08T10:48:44Z
generation: 14
labels:
app: shifts-api
keel.sh/policy: force
name: shifts-api
namespace: default
resourceVersion: "136403"
selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/shifts-api
uid: 26033971-7c27-11e7-b30a-0667c411fdb7
spec:
progressDeadlineSeconds: 600
replicas: 2
revisionHistoryLimit: 2
selector:
matchLabels:
app: shifts-api
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: shifts-api
spec:
containers:
- env:
- name: POSTGRES
value: postgresql://xxxxx
image: ustwo/shifts_api:latest
imagePullPolicy: Always
name: shifts-api
ports:
- containerPort: 8000
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: myregistrykey
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
status:
availableReplicas: 2
conditions:
- lastTransitionTime: 2017-08-08T17:16:07Z
lastUpdateTime: 2017-08-08T17:16:07Z
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: 2017-08-09T14:42:38Z
lastUpdateTime: 2017-08-09T14:42:40Z
message: ReplicaSet "shifts-api-3321753349" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
observedGeneration: 14
readyReplicas: 2
replicas: 2
updatedReplicas: 2
from keel.
increased wait period to 5 seconds from 2 but basically k8s doesn't provide a nice way to force pull. If we encounter this issue again - maybe it would make sense to terminate pods when force pull is required. Of course that wouldn't be very graceful :)
from keel.
Related Issues (20)
- Feature: Update non `images` fields HOT 2
- Assuming registry up-to-date status?
- Keel configuration to work behind a reverse proxy
- *v1beta1.CronJob: the server could not find the requested resource HOT 2
- Notifications feature proposal
- Website search bar not working
- Initial tag required? HOT 1
- High CPU usage HOT 5
- Fix documentation to add "Registry" webhook
- Bump helm chart release HOT 4
- Helm chart: Ingress not working with release name
- Add support for ntfy HOT 1
- Can keel handle multiple containers in a pod deployment? HOT 3
- Cannot use registry mirror
- keel is using deprecated api /apis/batch/v1beta1/cronjobs
- Helm chart still uses app version 0.19.1
- Timeout errors trying to use polling HOT 1
- Slack integration is broken
- Allow ignoring/skipping version
- GCP registry returns 404 on digest check
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keel.