Giter VIP home page Giter VIP logo

googlecloudplatform / gke-rbac-demo Goto Github PK

View Code? Open in Web Editor NEW
155.0 35.0 81.0 813 KB

This project covers two use cases for RBAC within a Kubernetes Engine cluster. First, assigning different permissions to user personas. Second, granting limited API access to an application running within your cluster. Since RBAC's flexibility can occasionally result in complex rules, you will also perform common steps for troubleshooting RBAC as a part of the second scenario.

License: Apache License 2.0

Makefile 3.93% Shell 30.00% Dockerfile 1.75% Python 21.41% HCL 42.91%
kubernetes kubernetes-engine rbac security google-cloud-platform gke-helmsman gke

gke-rbac-demo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gke-rbac-demo's Issues

Make create hanging

Hello,

I am trying to execute the make create command however the installation continually hangs at the compute instances creation step for bastion, auditor and owner. The output is as follows:

module.owner_instance.google_compute_instance.instance: Still creating... (16m10s elapsed)
module.auditor_instance.google_compute_instance.instance: Still creating... (16m10s elapsed)
module.bastion.google_compute_instance.instance: Still creating... (16m10s elapsed)

I am running this from my local machine against a cluster on GKE.
The project setting are set up as specified, auth login is validated and apis enabled.

Any ideas?

Best
Chris

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

cloudbuild
images/pod-labeler/cloudbuild.yaml
dockerfile
images/pod-labeler/Dockerfile
  • python 2.7-stretch
terraform
terraform/main.tf
terraform/modules/firewall/versions.tf
  • hashicorp/terraform >= 0.12
terraform/modules/instance/versions.tf
  • hashicorp/terraform >= 0.12
terraform/modules/network/versions.tf
  • hashicorp/terraform >= 0.12
terraform/provider.tf
  • google ~> 2.17.0
  • null ~> 2.1.2
  • random ~> 2.1.2
  • template ~> 2.1.2
terraform/versions.tf
  • hashicorp/terraform >= 0.12

  • Check this box to trigger a request for Renovate to run again on this repository

Scenario 2: All pod labelers seem to error but keep Running?

In doing the terraform setup and following the tutorial on Cloud Shell, when I attempt to follow Scenario 2 and run the pod labeler, every version of the yaml is able to get the Running state successfully and have this error in the logs:

aprindle@gke-tutorial-admin:~$ kubectl logs -l app=pod-labeler
/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py:1235: UserWarning: /tmp is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
  warnings.warn(msg, UserWarning)
Attempting to list pods
2019-01-30 20:38:49,336 WARNING Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f024b73e290>: Failed to establish a new connection: [Errno 110] Connection timed out',)': /api/v1/namespaces/default/pods?watch=False
aprindle@gke-tutorial-admin:~$ kubectl logs -l app=pod-labeler
/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py:1235: UserWarning: /tmp is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
  warnings.warn(msg, UserWarning)
Attempting to list pods
2019-01-30 20:38:49,336 WARNING Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f024b73e290>: Failed to establish a new connection: [Errno 110] Connection timed out',)': /api/v1/namespaces/default/pods?watch=False

I expected the initial deployments to fail as described in the scenario and then have a successful run in the end.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.