Comments (5)
Does that mean, that in order to run 12:00 in my Berlin time i need to specify 10:00 in my cronjob?
That's correct: as the clusters run on UTC, you will need to subtract 2 hours from your local Berlin / CEST time when considering what time you need to pass to kubectl.
Or is it just kubectl displaying wrong time calculation and the job was actually executed as scheduled?
I couldn't spot a wrongly displayed calculation by kubectl. As long as you keep thinking in UTC, things should be correct.
from doks.
So, here my cronjob triggered 2 hrs later:
The time is UTC, right?
from doks.
Yes, the time is UTC.
It looks correct to me: this is what I get when I kubectl get
your dialogflow-gateway-reporter
cronjob right now:
NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE
dialogflow-gateway-reporter 0 12 1 * * False 0 7h36m 9h
And this is the time I end up with if I subtract those 7h36m from now:
$ date -u -d "- 7 hours - 36 mins"
Thu Aug 1 12:00:42 UTC 2019
I'm guessing your local machine isn't configured to UTC but CET?
from doks.
Hey @timoreimann ✌️
I feel completely stupid now...
So, this is the time setting on my computer:
This is the output of date
and date -u
command on my local machine and alpine pod:
the time on my wrist is 18:xx
Does that mean, that in order to run 12:00 in my Berlin time i need to specify 10:00 in my cronjob?
Or is it just kubectl
displaying wrong time calculation and the job was actually executed as scheduled?
Thanks.
from doks.
👍
from doks.
Related Issues (20)
- Maintain HA on single-node cluster during updates HOT 6
- Automatic minor version k8s upgrades HOT 4
- Scale node pool to zero throws HTTP 500 HOT 2
- Support pod security policies HOT 2
- cert-manager and metrics-server broken in 1.16 upgrade? HOT 8
- dont cap grace period at 0 for soft evictions HOT 2
- support dynamic kubelet config HOT 1
- Support metrics in the integrated dashboard HOT 15
- built-in support for glusterfs client on worker nodes HOT 7
- Integrate DOKS plus managed resources into projects HOT 1
- No metrics for cluster in version 1.20.2-do.0 HOT 6
- kube-state-metrics serviceaccount installed to kube-system namespace by default HOT 3
- Create load balancer for service in same project as cluster HOT 2
- Resizing root partition of a DOKS Worker Node Droplet
- Feature Request: UI Integration to Apply Taints automatically to Node Pools HOT 5
- Linux Kernel 5.x on DOKS Nodes HOT 4
- Feature request: UDP support in Load Balancers HOT 1
- Question about node taints with regard to doks-managed 'coredns' deployment HOT 1
- Cronjob TimeZone in >=1.27, TZ not found HOT 1
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 doks.