This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "ext-ns-metadata" | |
version = "0.1.0" | |
authors = ["Linkerd Authors <[email protected]>"] | |
edition = "2021" | |
license = "Apache-2.0" | |
publish = false | |
[dependencies] | |
anyhow = "1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
zones=(a b c) | |
cluster_cidr() { | |
echo "apiVersion: networking.k8s.io/v1alpha1 | |
kind: ClusterCIDR | |
metadata: | |
name: new-cidr | |
spec: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use anyhow::{bail, Result}; | |
use clap::Parser; | |
use futures_util::StreamExt; | |
use kube::runtime::watcher; | |
use k8s_openapi::api::core::v1::Pod; | |
#[derive(Parser)] | |
#[command(version)] | |
struct Args { | |
#[arg( |
OlderNewer