1
0
mirror of https://github.com/rancher/types.git synced 2025-04-28 02:30:07 +00:00
Commit Graph

47 Commits

Author SHA1 Message Date
Darren Shepherd
308d0bce2d Move status logic to wrangler 2020-02-14 16:13:01 -07:00
Murali Paluru
c2fa09c78a cis: modify skip, conditions 2019-12-12 14:17:20 -08:00
orangedeng
503eda6fe8 Remove scaling limited from error map
**Problem:**
The `ScalingLimited` will set to true when the target workload's
cpu useage is zero.
In this case, we should not set state to error.

**Solution:**
Remove `ScalingLimited` from reverseErrorMap.
2019-08-06 09:06:04 -07:00
orangedeng
ceafd174fc Add ScalingLimited condition to status map
The hpa condition ScalingLimited should be in reverseErrorMap.
It means the the hps object is currently not able to scale due to
the scaling speed is too high.
2019-07-22 19:45:11 -07:00
orangedeng
5694548201 Add HPA type to schema 2019-05-31 07:57:20 -07:00
kinarashah
167329b41c add new fields and action to multi cluster app 2019-01-10 11:56:42 -08:00
gitlawr
36f2de76ce update pipeline types 2018-08-23 20:25:06 -07:00
carolyn
e17524f5bb fix duplicate transitioningMessage 2018-07-25 09:57:46 -07:00
Darren Shepherd
01b7bf0bfc Minor status changes 2018-07-19 10:40:37 -07:00
Darren Shepherd
986f420630 Update ToInternal 2018-07-19 10:40:37 -07:00
kinarashah
d63d266090 node drain input 2018-07-19 09:35:44 -07:00
Darren Shepherd
bb03350a4e Succeeded jobs should not show transitioning 2018-04-27 15:38:25 -07:00
Darren Shepherd
6796a6867b Show state on containers and fix jobs 2018-04-27 09:59:30 -07:00
Daishan Peng
fc11044fd9 improve catalog status 2018-04-19 13:08:01 -07:00
Alena Prokharchyk
76e83ca25a Load Balancer status=Pending when no address set 2018-04-18 09:46:26 -07:00
Darren Shepherd
0d8a522a36 Cluster status 2018-03-31 03:41:42 -07:00
Aiwantaozi
fd9b83fc13 add installed node driver status 2018-03-29 13:43:52 +08:00
Darren Shepherd
bf23b967a5 Fix progessing 2018-03-23 23:06:42 -07:00
Darren Shepherd
28317983c8 More volume fixes and state changes 2018-03-23 16:30:07 -07:00
Daishan Peng
5097ab8e1e add waiting state 2018-03-22 16:19:18 -07:00
Darren Shepherd
704bb1871e Update AgentImage perms 2018-03-22 10:17:20 -07:00
Craig Jellick
fd5df5220e Look for conditions in annotation
Check cattle.io/status annotation for storing status on resources
that dont support it natively.
2018-03-04 22:07:50 -07:00
Darren Shepherd
ff78d28af9 AddonDeploy condition and some more constants 2018-02-26 16:24:22 -07:00
Murali Paluru
d7d5c46a3b Adding cond to Project 2018-02-23 23:17:14 -07:00
Darren Shepherd
8bea13cc6c Make ready unknown be an error 2018-02-20 12:52:02 -07:00
Darren Shepherd
df797dfd8e Add nodepools 2018-02-13 11:04:18 -07:00
Darren Shepherd
c494fd1585 Rename machine to node 2018-02-13 11:04:18 -07:00
Alena Prokharchyk
9df8ded442 Workload refactor 2018-02-09 18:27:26 -07:00
Darren Shepherd
c06cbd77c9 Embed crt status 2018-02-01 22:19:35 +00:00
Darren Shepherd
3c6d1ba9b8 Only do initializing for rancher types 2018-01-30 16:17:22 +00:00
Darren Shepherd
04e281d25e Add registered condition 2018-01-22 23:57:00 +00:00
Darren Shepherd
5c4bc1a5a6 Fix typo 2018-01-17 01:15:16 +00:00
Darren Shepherd
b3c35c832c Add machine actions 2018-01-16 21:10:15 +00:00
Darren Shepherd
c6577504c5 Refactor status 2018-01-12 15:30:16 +00:00
Craig Jellick
e5890bff08 Cluster conditions
For creating a default project and assigning the default namespace to it
2018-01-08 19:29:43 +00:00
Darren Shepherd
f03c946987 Only go to initializing if there are no conditions 2018-01-08 17:21:04 +00:00
Craig Jellick
9dbada3a72 Fix initializing state logic
This function contains logic to look for a phase field or an "active"
field on the spec, if the resource has one and to use those
values to determine the resource's state.

But, if the resource was older than five seconds and had no conditions,
that logic was not getting hit and the resource was just defaulting
to "active".

This change let's us check the phase and spec.active before falling
back to active or initializing.
2018-01-05 01:26:58 +00:00
Craig Jellick
5b4b8b0b24 Add a project create condtion 2017-12-29 08:32:34 -07:00
Darren Shepherd
ee9dc3fbfa Fix secret types 2017-12-28 17:09:18 +00:00
Craig Jellick
46a1ea01a8 Add status to project 2017-12-27 19:57:02 +00:00
Darren Shepherd
bb9f169d59 Fix namespace attribute on native types 2017-12-19 21:54:13 -07:00
Darren Shepherd
3e9e7cb7d6 Update status mapping 2017-12-16 01:53:02 -07:00
Darren Shepherd
54721bd8c9 Pretty up machine 2017-12-16 01:53:02 -07:00
Darren Shepherd
4936f617e6 Update context and status 2017-12-12 08:30:37 -07:00
Darren Shepherd
68600ed35d API Updates 2017-12-04 17:00:53 -07:00
Darren Shepherd
24adacf77f Updates for norman refactoring 2017-11-29 14:38:39 -07:00
Darren Shepherd
5bfe5cb7ec A lot of API changes 2017-11-21 16:23:32 -07:00