Skip to content

Instantly share code, notes, and snippets.

View pgvishnuram's full-sized avatar
🏠
Working from home

pgvishnuram

🏠
Working from home
View GitHub Profile
Docker Events stream
sending all events
{
id: '9ef0d5de-8317-4029-8470-ddfd677fe070',
timestamp: '2023-02-09T14:40:13.709631Z',
action: 'push',
target: {
mediaType: 'application/vnd.docker.distribution.manifest.v2+json',
size: 528,
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
{
"version": "1.0",
"available_releases": [
{
"version": "1.10.5",
"level": "new_feature",
"url": "https://github.com/astronomer/airflow/releases/tag/1.10.5-11",
"release_date": "2020-10-05T20:03:00+00:00",
"tags": ["1.10.5-alpine3.10-onbuild", "1.10.5-buster-onbuild", "1.10.5-alpine3.10", "1.10.5-buster"],
"channel": "stable",
#!/bin/bash
RELEASE_NAME=$1
EXECUTOR_TYPE=$(helm get values ${RELEASE_NAME} -n astronomer-${RELEASE_NAME} -o json | jq -r .airflow.executor)
if [ "$EXECUTOR_TYPE" = '"CeleryExecutor"' ]; then
SERVICE_NAME=(webserver scheduler worker flower)
else
SERVICE_NAME=(webserver scheduler)
# most of these policies taken verbatim from the kyverno library
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
name: restrictedish-v2
annotations:
kubernetes.io/description: intended to simulate Openshifts restricted-v2
pods to be run with a UID, and SELinux context that are allocated to the namespace. This
is the most restrictive SCC and it is used by default for authenticated users.
On top of the legacy 'restricted' SCC, it also requires to drop ALL capabilities
{
"features": {
"stellar": {
"introducedVersion": "6.0.0"
},
"triggerer": {
"introducedVersion": "4.0.0"
}
},
"runtimeVersions": {
@pgvishnuram
pgvishnuram / setup-protoc-3.21.9.sh
Last active April 2, 2024 07:41
download protoc
#!/bin/bash
go install google.golang.org/grpc/cmd/[email protected]
go install google.golang.org/protobuf/cmd/[email protected]
export PATH="$PATH:$(go env GOPATH)/bin"
PROTOC_ZIP=protoc-21.9-osx-x86_64.zip
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v21.9/$PROTOC_ZIP
sudo unzip -o $PROTOC_ZIP -d /usr/local bin/protoc
sudo unzip -o $PROTOC_ZIP -d /usr/local 'include/*'
Red Hat OpenShift version Kubernetes version OCP GA Availability ARO Install Availability ARO End of Life
4.4 1.17 May 2020 July 2020 February 2021
4.5 1.18 July 2020 November 2020 July 15 2021
4.6 1.19 October 2020 February 2021 September 15 2021
4.7 1.20 February 2021 July 15 2021 February 1 2022
4.8 1.21 July 2021 September 15 2021 June 21 2022
4.9 1.22 November 2021 February 1 2022 March 2 2023
4.10 1.23 March 2022 June 21 2022 August 19 2023
4.11 1.24 August 2022 March 2 2023 February 10 2024