Commit Graph

17 Commits

Author SHA1 Message Date
Ole Markus With 0ec71686b9 Refactor cloudinstancegroupmember in a more independent cloud instance representation
Apply suggestions from code review

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-08-30 21:37:03 +02:00
Peter Rifel 4d9f0128a3
Upgrade to klog2
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
John Gardiner Myers 154833e652 Fail cluster validation if too few nodes for ig's target size 2020-05-12 22:28:26 -07:00
eric-hole f25b26ff07 Migrates GCE sdk from v0.beta to v1 2020-04-24 10:54:19 -07:00
Justin Santa Barbara 108d1eee5d Replace deprecated x/net/context with context
It's not x-perimental any more!
2020-04-09 23:58:19 -04:00
John Gardiner Myers cc5b6f4b8f Add fi.Cloud.DetachInstance() 2020-01-27 20:15:11 -08:00
Justin SB 3e33ac7682
Change code from glog to klog
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog.  That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco) 4f0169bb79 codegen 2019-01-16 09:30:40 -07:00
Justin Santa Barbara 62e8e17077 Code fixes for k8s 1.11 API changes 2018-09-28 20:14:45 -04:00
Justin Santa Barbara 934f6c9d4b Fix GCE instance lookup during validation
ExternalID was deprecated and replaced by ProviderID, but the value of
ProviderID on GCE seems to have switched from instance ID to instance
Name.  Adopt a fallback matching strategy.
2018-07-23 02:10:58 -04:00
Zach Aller 0a456d3101 Fix formating 2018-05-16 14:30:10 -05:00
Zach Aller 4cb92b7c1e Kuberenets 1.11 has deprecated ExternalID this replaces it with ProviderID
Per https://github.com/kubernetes/kubernetes/pull/61877 ExternalID
is now removed from k8s.
2018-05-16 13:31:04 -05:00
Justin Santa Barbara d71bd09a6c GCE: Limit length of InstanceTemplate
We explicitly set a separate prefix for the names, and we ensure it is
not too long
2017-10-10 09:48:38 -04:00
Kubernetes Submit Queue 7397370f1e Merge pull request #3533 from justinsb/gce_rolling_update_special_restart
Automatic merge from submit-queue.

GCE: use recreateInstance when rolling a MIG
2017-10-04 18:42:13 -07:00
Justin Santa Barbara 8693683324 GCE: use recreateInstance when rolling a MIG 2017-10-04 02:54:40 -04:00
Justin Santa Barbara deff8d32c9 GCE: strip prefixes from Zone & MIG Name
Fixes bug where MIGs were not matched correctly.
2017-10-04 00:20:09 -04:00
Justin Santa Barbara 737f2fcd80 rolling-update - initial GCE support 2017-10-02 23:07:35 -04:00