Skip to content

Instantly share code, notes, and snippets.

14:55:03: Executing ':tech.seven.services.smppserver.ClientAdapterSmppApplication.main()'...
> Task :generateCrpCallbackApi
More than one inline schema specified in allOf:. Only the first one is recognized. All others are ignored.
More than one inline schema specified in allOf:. Only the first one is recognized. All others are ignored.
################################################################################
# Thanks for using OpenAPI Generator. #
# Please consider donation to help us maintain this project 🙏 #
# https://opencollective.com/openapi_generator/donate #
{} ~ kubectl get pods
error: unknown command "oidc-login" for "kubectl"
E1111 12:35:51.171699 10248 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://192.168.76.254:6443/api?timeout=32s\": getting credentials: exec: executable kubectl failed with exit code 1"
error: unknown command "oidc-login" for "kubectl"
E1111 12:35:51.244003 10248 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://192.168.76.254:6443/api?timeout=32s\": getting credentials: exec: executable kubectl failed with exit code 1"
error: unknown command "oidc-login" for "kubectl"
E1111 12:35:51.314117 10248 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://192.168.76.254:6443/api?timeout=32s\": getting credentials: exec: executable kubectl failed with exit code 1"
error: unknown command "oidc-login" for "kubectl"
E1111 12:35:51.383905 10248 memcache.go:265] "Unhandled Error" err="couldn't get curr
{} ~ curl -v --insecure https://192.168.76.254:6443/api
* Trying 192.168.76.254:6443...
* Connected to 192.168.76.254 (192.168.76.254) port 6443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
{} ~ cat ~/.kube/config
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJlakNDQVIrZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQWtNU0l3SUFZRFZRUUREQmx5YTJVeUxYTmwKY25abGNpMWpZVUF4TnpFMk5EVTJOVE14TUI0WERUSTBNRFV5TXpBNU1qZzFNVm9YRFRNME1EVXlNVEE1TWpnMQpNVm93SkRFaU1DQUdBMVVFQXd3WmNtdGxNaTF6WlhKMlpYSXRZMkZBTVRjeE5qUTFOalV6TVRCWk1CTUdCeXFHClNNNDlBZ0VHQ0NxR1NNNDlBd0VIQTBJQUJJNTJVWG1UVnZVdnJYaVk3eGh4M2s3SlY4eFlpaFFIRGpMN3FUQjUKZEREZnRYMzJJcENubkJHU3R0SmhDT2R5cTlUQ2dLbEtTTm1qVytwS2dXUWhEWmFqUWpCQU1BNEdBMVVkRHdFQgovd1FFQXdJQ3BEQVBCZ05WSFJNQkFmOEVCVEFEQVFIL01CMEdBMVVkRGdRV0JCUTZBKzRDY2E1UDdjb1FmaWp4Clh2Tk5pQ1htcVRBS0JnZ3Foa2pPUFFRREFnTkpBREJHQWlFQXozRVVqWC9aeUpTZ2l0azVoRkc3RWhUYWNocEQKekZsb2czd0x2Y1VYNVdVQ0lRQ04zbk1UMGUrd0VuY3UySWFMTTVPOXBGQldGNU1HaExyaHF2cGV0b2lrM1E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
server: https://192.168.76.254:6443
name: k8s-ostap
contexts:
- context:
cluster: k8s-ostap
~ ⌚ 9:14:33
$ kubectl config get-contexts
zsh: correct 'config' to '.config' [nyae]? n
CURRENT NAME CLUSTER AUTHINFO NAMESPACE
* k8s-ostap k8s-ostap oidc@k8s-ostap-fbcd omni-staging
~ ⌚ 9:14:55
$ cat ~/.kube/config
apiVersion: v1
clusters:
bash
$ sudo iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:1414
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:9443
Chain FORWARD (policy DROP)
target prot opt source destination
➜ .kube kubectl krew uninstall oidc-login
WARNING: To be able to run kubectl plugins, you need to add
the following to your ~/.zshrc:
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
and restart your shell.
Uninstalled plugin: oidc-login
➜ .kube brew remove krew
kuber curl -v GET "http://localhost:8080/api\?timeout\=32s"
* Trying 193.232.168.26:80...
* Connected to GET (193.232.168.26) port 80 (#0)
> GET / HTTP/1.1
> Host: GET
> User-Agent: curl/7.79.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJlakNDQVIrZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQWtNU0l3SUFZRFZRUUREQmx5YTJVeUxYTmwKY25abGNpMWpZVUF4TnpFMk5EVTJOVE14TUI0WERUSTBNRFV5TXpBNU1qZzFNVm9YRFRNME1EVXlNVEE1TWpnMQpNVm93SkRFaU1DQUdBMVVFQXd3WmNtdGxNaTF6WlhKMlpYSXRZMkZBTVRjeE5qUTFOalV6TVRCWk1CTUdCeXFHClNNNDlBZ0VHQ0NxR1NNNDlBd0VIQTBJQUJJNTJVWG1UVnZVdnJYaVk3eGh4M2s3SlY4eFlpaFFIRGpMN3FUQjUKZEREZnRYMzJJcENubkJHU3R0SmhDT2R5cTlUQ2dLbEtTTm1qVytwS2dXUWhEWmFqUWpCQU1BNEdBMVVkRHdFQgovd1FFQXdJQ3BEQVBCZ05WSFJNQkFmOEVCVEFEQVFIL01CMEdBMVVkRGdRV0JCUTZBKzRDY2E1UDdjb1FmaWp4Clh2Tk5pQ1htcVRBS0JnZ3Foa2pPUFFRREFnTkpBREJHQWlFQXozRVVqWC9aeUpTZ2l0azVoRkc3RWhUYWNocEQKekZsb2czd0x2Y1VYNVdVQ0lRQ04zbk1UMGUrd0VuY3UySWFMTTVPOXBGQldGNU1HaExyaHF2cGV0b2lrM1E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
server: https://192.168.76.254:6443
name: k8s-ostap
contexts:
- context:
cluster: k8s-ostap
user: oidc@k8s-ostap-fbcd
➜ kuber kcgc
CURRENT NAME CLUSTER AUTHINFO NAMESPACE
➜ kuber kubectl config set-context omni-context --kubeconfig=config/kubeconfig.yaml --namespace=omni-staging
Context "omni-context" modified.
➜ kuber kcgc
CURRENT NAME CLUSTER AUTHINFO NAMESPACE
➜ kuber kubectl get pods
E1106 11:09:06.533447 88105 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused