Tag: NAMESPACE
How do I extract multiple pieces of information using a regex?
I need to extract multiple pieces of information from a returned collection of strings. The strings consist of a number of “fields”, for example: {container=”node-exporter”, device=”/dev/mapper/ubuntu–vg-ubuntu–lv”, endpoint=”http-metrics”, fstype=”ext4″, instance=”172.20.32.10:9100″, job=”node-exporter”,…
boost/asio/impl/serial_port_base.hpp – 1.82.0
boost/asio/impl/serial_port_base.hpp // // impl/serial_port_base.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com) // Copyright (c) 2008 Rep Invariant Systems, Inc. (info@repinvariant.com) // //…
json – parsing jsonpath with kubectl
I would try to keep it simple by using custom-columns: kubectl get pod -o custom-columns=”POD-NAME”:.metadata.name,”NAMESPACE”:.metadata.namespace,”CONTAINER-IMAGES”:.spec.containers[*].image,”DNS-POLICY”:.spec.dnsPolicy POD-NAME NAMESPACE CONTAINER-IMAGES DNS-POLICY bar default nginx ClusterFirst foo default nginx ClusterFirst zoo default nginx,ubuntu…
kubernetes – Why am I seeing this ‘failed to download’ helm error when trying to upgrade a helm chart?
I am running a new relic chart in helm (from this repo -> github.com/newrelic/helm-charts/blob/master/charts/newrelic-logging, this is my output when running in my cluster: helm list -A -n kube-system NAME NAMESPACE.…
Kubernetes Intro – HackMD
# Kubernetes Intro – Local Google cloud setup – Tools — #### Setup – Install google SDK: cloud.google.com/sdk/docs/install region -> (europe-west4-a) – Install kubectl: kubernetes.io/docs/tasks/tools/ — – List available clusters…
c++ – Implementing task primitives based on asio::awaitable
You can use the experimental operator overloads to combine awaitables. E.g. Live On Coliru #include <boost/asio.hpp> #include <boost/asio/awaitable.hpp> #include <boost/asio/detached.hpp> #include <boost/asio/experimental/awaitable_operators.hpp> #include <boost/asio/use_awaitable.hpp> #include <iostream> using namespace std::chrono_literals; auto…