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
| [root@host helmstuff]# argocd app get adventure1 | |
| Name: adventure1 | |
| Project: default | |
| Server: https://kubernetes.default.svc | |
| Namespace: helmstuff | |
| URL: https://argocd-server-argocd.apps.ocp1.example.lab/applications/adventure1 | |
| Repo: https://github.com/welshstew/helm3-argocd-adventure1.git | |
| Target: master | |
| Path: manifest | |
| Sync Policy: Automated (Prune) |
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
| #NodeName, cpu requests, cpu limits, memory requests, memory limits | |
| [root@host ~]# oc get node --no-headers | while read node stat role age ver; do echo -ne "$node\t"; oc describe node $node | egrep '^ (cpu|memory)' | sed -r 's/\(|\)//g' | while read lbl x p1 y p2; do echo -n \ $p1 $p2 ; done; echo ""; done | |
| master0 43% 0% 28% 3% | |
| master1 40% 0% 23% 3% | |
| master2 44% 0% 27% 3% | |
| worker0 33% 8% 17% 3% | |
| worker1 35% 8% 19% 3% | |
| worker2 22% 2% 15% 4% |
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
| [root@da7d7bf91053 buildinfo]# cat Dockerfile-redhat-openjdk-18-openjdk18-openshift-1.8-7 | |
| # Copyright 2019 Red Hat | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # <<< REDACTED >>> |
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
| [user@localhost temp]$ git clone https://github.com/welshstew/keycloak-simple-examples.git | |
| Cloning into 'keycloak-simple-examples'... | |
| ... | |
| Unpacking objects: 100% (16/16), done. | |
| [user@localhost temp]$ cd keycloak-simple-examples/keycloak-nodejs-example/ | |
| [user@localhost keycloak-nodejs-example]$ npm install | |
| npm WARN deprecated istanbul@0.4.5: This module is no longer maintained, try this instead: | |
| ... | |
| added 405 packages from 426 contributors and audited 1198 packages in 7.66s | |
| found 26 vulnerabilities (2 low, 19 moderate, 5 high) |
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
| htpasswd -bc docker-registry.htpasswd admin admin | |
| scp docker-registry.htpasswd admin@${NAS_IP}:/share/CACHEDEV1_DATA/Container/container-station-data/application/registry/nginx/ |
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
| On each worker:- via vsphere added an extra 32GB disk (sdb) | |
| - fdisk /dev/sdb | |
| - mkfs.xfs /dev/sdb1 | |
| - mount /dev/sdb1 /mnt/local-storage/local-sc/disk1 | |
| chcon -R unconfined_u:object_r:svirt_sandbox_file_t:s0 /mnt/local-storage/ |
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
| quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:88ab6398d4197d2f87562b644a9776d309d158e5674d4eace81ae0f05f2ecc7f | |
| quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:3068c65ba3f73a1bbc87267f47705499a701152ee8e6353e69ceb5a04c302728 | |
| quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:27bf6bdd760d7a3c18907ccf9ac74706116cf15cab123c263f803678fa18429a | |
| quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:4551712a40b88ea237adbceb7e5a1919439c1e8011b9f8d6093fcb9eb641d344 | |
| quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:36e86d0e692c1306aae4b36e2d4d91448de5ed5271c6c8e29ef5c3201b81bef7 | |
| quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:9339c5a6e7884b46cac76f9da5128bc46fa2aa99053f80c472ff96a2fe1b9417 | |
| quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:7292e29ab331654accd66836a8a2464c04012233f281ba2fbe1b7578a72f9fcc | |
| quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:435f83253b5443c9b34c7409ed755f093756458e63323db2be59aca1cc2cd76b | |
| quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:afcad963e50f4b5b20 |
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
| logging.config=classpath:logback.xml | |
| # the options from org.apache.camel.spring.boot.CamelConfigurationProperties can be configured here | |
| camel.springboot.name=MyCamel | |
| # lets listen on all ports to ensure we can be invoked from the pod IP | |
| server.address=0.0.0.0 | |
| management.address=0.0.0.0 | |
| # lets use a different management port in case you need to listen to HTTP requests on 8080 |
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
| [user@localhost certs]$ oc get builds | |
| NAME TYPE FROM STATUS STARTED DURATION | |
| nodejs-mongo-persistent-1 Source Git@e59fe75 Complete About an hour ago 2m37s | |
| simple-nginx-ssl-reverseproxy-1 Source Git@552932f Complete 16 minutes ago 47s |
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
| Host localhost | |
| VerifyHostKeyDNS no | |
| StrictHostKeyChecking no | |
| HostKeyAlgorithms +ssh-dss | |
| Host rhel7jumpbox | |
| User user | |
| Hostname 192.168.1.86 | |
| Host loadbalancer.example.lab |