Code Monkey home page Code Monkey logo

deploymentexamples's Introduction

Debugging

List all resources in any namespace. Basically goes over every API definition and lists the resources

NS="your namespace"
kubectl api-resources --verbs=list --namespaced -o name   | xargs -n 1 kubectl get --show-kind --ignore-not-found -n $NS

Change EKS cluster

aws eks --region eu-central-1 update-kubeconfig --name snglr-tf-k8s-conductor-dev --profile dev

Building docker images

Clean up temp files/cache

rm -rf /tmp/helm-*
pip3 cache purge
apk add --update --no-cache

RBAC

Cluster Role

A list of allowed actions / permissions

Service Account

ClusterRoleBinding

Connect / link between ClusterRole and a ServiceAccount. Or in general link between a user and their permissions, ie. grant user X permissions Z.

Grafana

  • I suggest copying stuff from other dashboards.
  • Dont forget to copy also the variables from each dashboard
  • Check multiple time ranges if stuff is showing
  • Also, the Panel "resolution" might be too high/low; not sure what it is, but seems like we are collecting data only rarely, and then it wont show properly
  • In the legend, you can use "{{cpu}}" to denote which of the labels should be used
  • Set for graphs Tooltip > All Panel > Name Standard options > Unit Legend Resolution
  • Set for table Graph type > table Data format > Table Instant > True Transform > Outer join Transform > Organize fields Override > bits (SI)

Debugging

apt install dnsutils nslookup / dig

istiod.istio-system.svc nslookup health.deleteme.svc.cluster.local

deploymentexamples's People

Contributors

vladmasarik avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.