Commit Graph

41 Commits

Author SHA1 Message Date
Anton Khizunov b0ffcce0b2 helm chart - Allow cloud config path for AWS provider 2022-08-25 12:39:50 +03:00
Shubham Kuchhal 4173a698ec Upgrade CA images to v1.22.2 in aws example. 2022-05-23 11:44:10 +05:30
Chetan Parik c378fc159d Issue#4358 - Add fsGroup to security context of autoscaler pod 2021-09-28 06:22:20 +00:00
Kubernetes Prow Robot 6586d0c1ad
Merge pull request #4303 from damienleger/priorityclass-securitycontext
[CA] [AWS examples] Add priorityClassName & securityContext & upgrade image
2021-09-20 01:14:09 -07:00
Damien LEGER 6df9e9876f Use v1.21.0 in all examples to match last EKS minor version available 2021-09-09 08:44:23 +00:00
Damien LEGER cbcafb8904 Add priorityClassName & securityContext & upgrade image 2021-09-01 14:43:05 +00:00
GuyTempleton 17e028bd9e
CA - Cloud Provider Examples - add ability to list/watch/get namespaces
As of the 1.22 release of k8s, the scheduler now requires the ability to list namespaces
2021-08-23 15:39:38 +01:00
Stephen Cuppett 409a5d9c78 Fix: Adding additional APIs discovered but unable to be watched on EKS
csidrivers.storage.k8s.io and csistoragecpacities.storage.k8s.io are available on EKS
1.21. Adding permissions to the ClusterRole in the example to avoid the error
messages.
2021-08-08 18:42:55 -04:00
MyannaHarris dcdb952322 [Examples] Update the AWS examples to have 600Mi of memory
This change updates the AWS examples to have 600Mi of memory because CAS downloads a pricing file that contains EC2 instance info at startup which grows each time there's new EC2 instance information available. Currently the largest region is hitting the 300Mi limit when downloading that file, so we are increasing the memory limit in our examples for customers.
2021-07-19 11:03:20 -07:00
GuyTempleton d872ec3db8
Follow WG Naming Recommendations on Master -> Control Plane 2021-01-11 22:48:47 +00:00
dmakeroam 4e89945570
[aws/examples] - Update comment to the CA volume mount path for Amazon Linux users (This mount path is not just EKS users) 2020-11-07 01:10:54 +07:00
dmakeroam b6280ddd16
[aws/examples] - Add comment to the CA volume mount path for EKS users 2020-11-07 00:50:27 +07:00
dmakeroam 77eba614e1
[aws/examples] - Update volume mount path to /etc/ssl/certs/ca-bundle.crt 2020-10-27 22:39:35 +07:00
Jiaxin Shan 5bb22e2ed0 Upgrade images in aws examples to v1.17.3 2020-08-04 18:01:41 -07:00
Jay Pipes e8e441e611 Update referenced CAS image in aws YAML examples
The example configuration YAML files in the AWS cloud provider
examples referenced a very old image for CAS. This simply updates the
image to the latest supported version on EKS, which is 1.14.7.
2020-02-18 13:19:05 -05:00
Peng Gao 5dffd75f5b Add lease election object rbac rules
Provide examples for new lease election objects
    rbac, related k8s issue #70778.

Signed-off-by: Peng Gao <peng.gao.dut@gmail.com>
2019-11-15 17:40:46 +08:00
Kubernetes Prow Robot e12e6daf5f
Merge pull request #2403 from mgalgs/patch-1
aws: examples: Delete trailing whitespace
2019-10-03 07:10:11 -07:00
Corey O'Brien 45235904bf Update RBAC in examples to include csinodes permission 2019-09-30 23:13:57 -04:00
Mitchel Humpherys 4c8c87ed69
aws: examples: Delete trailing whitespace
Just a whitespace chore.
2019-09-30 14:52:52 -07:00
Peng Gao 7763218e2a Add Prometheus scrape annotations to example manifests
Provide examples for Prometheus metrics scrape
settings.

Signed-off-by: Peng Gao <peng.gao.dut@gmail.com>
2019-09-29 10:20:10 +08:00
Kubernetes Prow Robot 16bd851804
Merge pull request #1861 from reinaldo-pinto/patch-1
Fix: failed forbidden Jobs
2019-04-22 20:26:07 -07:00
reinaldo-pinto 129bc11f96
Fix: failed forbidden, using RBAC.
adding rules needed of the Job on file.  cluster-autoscaler-run-on-master.yaml
2019-04-22 23:21:09 -03:00
reinaldo-pinto 5c15ad590a
Fix: failed forbidden, using RBAC.
adding rules needed of the Job on file.  cluster-autoscaler-multi-asg.yaml
2019-04-22 23:19:56 -03:00
reinaldo-pinto 1b43a1cebf
Fix: Failed forbidden, using RBAC.
adding rules needed of the Job on file. cluster-autoscaler-autodiscover.yaml
2019-04-22 23:19:00 -03:00
Lukasz Piatkowski 16666c238d add missing permissions 2019-04-18 14:24:29 +02:00
Jiaxin Shan 87d3343d70 Upgrade CA version in aws example and fix autodiscover example 2019-04-04 15:30:36 -07:00
reinaldo-pinto ca29bee863
Fix: failed forbidden
adding rules needed of the Job on file
2019-04-04 11:45:49 -03:00
Achintha Gunasekara 148ca53b28 yamllint fix 2019-03-28 10:20:45 +11:00
Achintha Gunasekara d7ce2be966
Merge branch 'master' into dev-agunasekara-yamllint-cleanup 2019-03-26 09:00:40 +11:00
Achintha Gunasekara e4fcef094e Cleaning up examples for AWS 2019-03-25 11:26:22 +11:00
Lukasz Piatkowski c5ba4b3068 priority expander 2019-03-22 10:43:20 +01:00
Stefan Sedich 2810425c2e Add missing daemonsets to AWS example cluster role 2019-02-28 10:35:25 -08:00
Jiaxin Shan d027959fde Update AWS documentation and CA version in examples 2019-02-11 22:26:39 -08:00
Gustav Westling 65297df234 Update RBAC example to include replicasets in the apps apigroup
This is needed as of Kubernetes 1.12
2018-11-06 18:49:54 +01:00
Shatil Rafiullah a36f8007af Read AWS Region from EC2 Metadata
Tackles kubernetes/autoscaler#1208. EC2 Metadata helpfully supplies AWS
Region info, so rather than _requiring_ an environment variable, this
patch enables `aws_manager.go` to retrieve that information from EC2
itself.

Example YAMLs no longer reference the vestigial `AWS_REGION` environment
variable, but supplying it to `cluster-autoscaler` still relays it to
the AWS SDK like before.
2018-09-28 22:45:34 -07:00
mikeweiwei f23431b29b add operator for the pod tolerations (cluster-autoscaler-run-on-master.yaml) 2018-09-18 10:10:39 +08:00
koooge 954dd5b52c Update resource version 2018-08-27 11:56:14 +09:00
Mike Tougeron 265739d0bc Update auto-discovery docs to match actual behavior 2018-05-31 16:30:14 -07:00
Tim Hockin f9062bf10e 2nd pass: k8s.gcr.io 2018-04-03 12:01:02 -07:00
Carlos Sanchez 5ea4ddac97 storageclasses permission is required
```
Listing and watching *v1.StorageClass from k8s.io/autoscaler/cluster-autoscaler/vendor/k8s.io/client-go/informers/factory.go:86
k8s.io/autoscaler/cluster-autoscaler/vendor/k8s.io/client-go/informers/factory.go:86: Failed to list *v1.StorageClass: storageclasses.storage.k8s.io is forbidden: User "system:serviceaccount:kube-system:cluster-autoscaler" cannot list storageclasses.storage.k8s.io at the cluster scope
```
2018-02-08 13:14:56 +01:00
Zach Arnold 4691f9f6b5 update docs with RBAC info 2018-02-01 14:06:42 -08:00