- Cluster Quota
oc create clusterquota env-qa \
--project-label-selector environment=qa \
--hard pods=10,services=5
oc create clusterquota user-qa \
#!/usr/bin/env bash | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2023 Christian Haintz | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of | |
# this software and associated documentation files (the "Software"), to deal in | |
# the Software without restriction, including without limitation the rights to | |
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |
#!/bin/bash | |
# stripping double quotes with sed | |
aws ecr describe-repositories | jq '.repositories[].repositoryName' | sed s/\"//g | |
# stripping double quotes with tr | |
aws ecr describe-repositories | jq '.repositories[].repositoryName' | tr -d '"' |