❯ REDIS_HOSTS=$(oc -n iib-3scale-apim extract secret/backend-redis --keys=REDIS_STORAGE_SENTINEL_HOSTS --to=-)
# REDIS_STORAGE_SENTINEL_HOSTS
❯ echo $REDIS_HOSTS
redis://redis-storage-01.hm.example.com.br:26379,redis://redis-storage-02.hm.example.com.br:26379,redis://redis-storage-03.hm.example.com.br:26379
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
--- | |
# https://access.redhat.com/solutions/3771241 | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: test | |
namespace: curl | |
spec: | |
replicas: 1 | |
selector: |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<offline>false</offline> | |
<proxies> | |
<!-- ### configured http proxy ### --> | |
</proxies> |
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
# To install a used: https://asciidocfx.com/#how-to-install-asciidocfx | |
# After installation a created this alias | |
alias ascii='/Applications/AsciidocFX/AsciidocFX.app/Contents/MacOS/JavaApplicationStub -q $PWD/README.adoc' | |
# now go to folder that has your README.adoc files |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: ose-cli | |
namespace: openshift-migration | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: support-tools |
To resolve the error Failed to import the required Python library (kubernetes) on rfelix-mac's Python /usr/local/opt/[email protected]/bin/python3.11. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"
I had just to install Kubernetes Python Client like bellow:
➜ pip3 install kubernetes
Collecting kubernetes
Downloading kubernetes-26.1.0-py2.py3-none-any.whl (1.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 385.9 kB/s eta 0:00:00
Collecting certifi>=14.05.14
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
THIS_SCRIPT=$(basename -- "$0") | |
WORKDIR=$(cd -P -- "$(dirname -- "$0")" && pwd -P) | |
echo Running $THIS_SCRIPT at $WORKDIR | |
alias mta='/Users/rfelix/redhat/products/MTA/mta-cli-6.0.1.GA-redhat-00006/bin/windup-cli' | |
INPUT_DIR=${WORKDIR}/jars | |
OUTPUT_DIR=${WORKDIR}/report | |
CLOUD_DIR=${OUTPUT_DIR}/cloud-readiness |