Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 1732a8b9bd Merge pull request #51562 from nicksardo/gce-attempt-firewall
Automatic merge from submit-queue (batch tested with PRs 51915, 51294, 51562, 51911)

GCE: Gracefully handle permission errors when attempting to create firewall rules

Purpose of this PR is to raise events from the GCE cloud provider if the GCE service account does not have the permissions necessary to create/update/delete firewall rules. 

Fixes #51812

**Release note**:
```release-note
NONE
```

Example Events:

```
Events:
  FirstSeen     LastSeen        Count   From                    SubObjectPath   Type            Reason                          Message
  ---------     --------        -----   ----                    -------------   --------        ------                          -------
  2m            2m              1       service-controller                      Normal          EnsuringLoadBalancer            Ensuring load balancer
  2m            2m              1       gce-cloudprovider                       Normal          LoadBalancerManualChange        Firewall change required by network admin: `gcloud compute firewall-rules create aa8a1dd628ddb11e78ce042010a80000 --network https://www.googleapis.com/compute/v1/projects/playground/global/networks/e2e-test-nicksardo --description "{\"kubernetes.io/service-name\":\"default/myechosvc1\", \"kubernetes.io/service-ip\":\"\"}" --allow tcp:9000 --source-ranges 0.0.0.0/0 --target-tags e2e-test-nicksardo-minion --project playground`
  2m            2m              1       gce-cloudprovider                       Normal          LoadBalancerManualChange        Firewall change required by network admin: `gcloud compute firewall-rules create k8s-1aee5045e658d174-node-hc --network https://www.googleapis.com/compute/v1/projects/playground/global/networks/e2e-test-nicksardo --description "" --allow tcp:10256 --source-ranges 130.211.0.0/22,35.191.0.0/16,209.85.152.0/22,209.85.204.0/22 --target-tags e2e-test-nicksardo-minion --project playground`
  1m            1m              1       service-controller                      Normal          EnsuredLoadBalancer             Ensured load balancer
```
2017-09-05 08:47:28 -07:00
.github
api Update generated files - api, bazel, json 2017-09-04 09:02:35 +02:00
build Merge pull request #50597 from dixudx/qemu_upgrade_2.9.1 2017-09-03 03:24:53 -07:00
cluster Merge pull request #51739 from nicksardo/gce-xpn-kubeup 2017-09-05 07:32:25 -07:00
cmd Added static cpumanager policy. 2017-09-04 07:24:59 -07:00
docs Update generated files - api, bazel, json 2017-09-04 09:02:35 +02:00
examples Replicate the persistent volume label admission plugin in a controller in 2017-08-28 03:12:18 -04:00
federation Merge pull request #51828 from kow3ns/workloads-deprecations-1.8 2017-09-03 16:44:46 -07:00
Godeps update vendor kube-openapi 2017-09-04 18:20:24 -07:00
hack Implement necessary API changes 2017-09-04 09:02:34 +02:00
logo
pkg Merge pull request #51562 from nicksardo/gce-attempt-firewall 2017-09-05 08:47:28 -07:00
plugin Modify VolumeZonePredicate to handle multi-zone PV 2017-09-04 20:13:32 -07:00
staging fix docstring of advanced audit policy 2017-09-05 15:28:19 +08:00
test Merge pull request #51562 from nicksardo/gce-attempt-firewall 2017-09-05 08:47:28 -07:00
third_party
translations Italian translation 2017-08-23 08:45:26 +02:00
vendor update vendor kube-openapi 2017-09-04 18:20:24 -07:00
.bazelrc
.generated_files
.gitattributes
.gitignore
.kazelcfg.json
BUILD.bazel
CHANGELOG.md Fix changelog to add discovery/controller-manager fixes. 2017-08-31 10:31:19 -07:00
code-of-conduct.md
CONTRIBUTING.md
labels.yaml Update the label manifest with new do-not-merge labels 2017-08-30 16:23:54 -07:00
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES add sig leads to owners-aliases 2017-08-23 14:35:20 -07:00
README.md
SUPPORT.md Add a SUPPORT.md file for github 2017-08-11 14:42:36 -04:00
Vagrantfile
WORKSPACE

Kubernetes

Submit Queue Widget GoDoc Widget


Kubernetes is an open source system for managing containerized applications across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications.

Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale using a system called Borg, combined with best-of-breed ideas and practices from the community.

Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF). If you are a company that wants to help shape the evolution of technologies that are container-packaged, dynamically-scheduled and microservices-oriented, consider joining the CNCF. For details about who's involved and how Kubernetes plays a role, read the CNCF announcement.


To start using Kubernetes

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To start developing Kubernetes

The community repository hosts all information about building Kubernetes from source, how to contribute code and documentation, who to contact about what, etc.

If you want to build Kubernetes right away there are two options:

You have a working Go environment.
$ go get -d k8s.io/kubernetes
$ cd $GOPATH/src/k8s.io/kubernetes
$ make
You have a working Docker environment.
$ git clone https://github.com/kubernetes/kubernetes
$ cd kubernetes
$ make quick-release

If you are less impatient, head over to the developer's documentation.

Support

If you need support, start with the troubleshooting guide and work your way through the process that we've outlined.

That said, if you have questions, reach out to us one way or another.

Analytics