They should work. Works for all cores of your host system. Also you can download ESXi from here.
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
1) [2024-09-26 18:14:41,186] ERROR Exiting Kafka due to fatal exception (kafka.Kafka$) | |
java.lang.RuntimeException: No readable meta.properties files found. | |
2) cd /tmp | |
mkdir kraft-combined-logs | |
touch kraft-combined-logs/meta.properties | |
3) ./bin/kafka-storage.sh random-uuid | |
output: fWDamvz8T0-dLH0IFQP2Wg |
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
# <secret_cookie_auth_key> - 32 bytes string (regex: a-z0-9, example: rpb7aos4rd0m32x9omcrcqacnia0xty2) | |
# <secret_cookie_enc_key> - 32 bytes string (regex: a-z0-9, example: gg1ejofgupoc19wyuywr2yflm75aeiwg) | |
# | |
# prom rules: | |
# - name: ForOpenshiftConsole | |
# rules: | |
# - expr: sum(rate(container_cpu_usage_seconds_total{job="kubelet",container!="",container!="POD"}[2m])) by (namespace,pod) | |
# record: pod:container_cpu_usage:sum | |
# - expr: sum(kube_pod_container_resource_requests{container!=""}) by (namespace, pod, resource) | |
# record: kube_pod_resource_request |
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
gitlab-runner ssh executor | |
ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
HOW TO FIX: | |
cat /home/user/.ssh/id_rsa.pub >> /home/user/.ssh/authorized_keys |
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
Y,X,Y Y,X <== ===> Y COMBO 2 ERMAC | |
down, left + A + RT в воздухе | |
X,Y,A + захват | |
============================HOMELANDER=============================== | |
<=== A, <=== X,B,A |
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
helm install prometheus-stack prometheus-community/kube-prometheus-stack --version 58.2.0 --namespace=monitoring --create-namespace | |
helm upgrade --install prometheus-stack prometheus-community/kube-prometheus-stack --version 58.2.0 --namespace=monitoring -f values.yaml | |
===================================================================================================================================== | |
helm install prometheus-community/prometheus:v2.41.0 --namespace=monitoring --debug --dry-run | |
helm install nginx --namespace=default --debug --set image.name=nurlan1992/app:v1 -f values.yaml . | |
helm upgrade --debug --install nginx --namespace=default --set image.name=nurlan1992/app:v1 -f values.yaml . |
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
Get Active Directory certificate | |
1. openssl s_client -showcerts -connect 192.168.1.155:636 | |
2. copy cert output from previous command and save to your root keycloak truststores location! for example: /opt/keycloak/conf/truststores | |
2. mcedit /path/keycloak/bin/kc.sh | |
3. if you gettins SSL error when connecting to LDAP server: | |
In JAVA_OPTS add to the end of the line -Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true |
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
Vanilla OKD Console integration with Keycloak OIDC | |
Software version: | |
Keycloak: 23.0.7 | |
Kubernetes: 1.26.5 | |
# Run Keycloak on port 443 with custom domain | |
1) bash kc.sh start-dev --https-certificate-file=/etc/letsencrypt/live/auth.dev-ops.kz/fullchain.pem --https-certificate-key-file=/etc/letsencrypt/live/auth.dev-ops.kz/privkey.pem --https-port=443 |
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
openssl genrsa -out deployer.key 2048 | |
openssl req -new -key deployer.key -out deployer.csr -subj "/CN=deployer" | |
cat deployer.csr | base64 | tr -d "\n" | |
cat <<EOF | kubectl apply -f - | |
apiVersion: certificates.k8s.io/v1 | |
kind: CertificateSigningRequest | |
metadata: | |
name: deployer |
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
/etc/logrotate.d/postgresql-common | |
/var/log/postgresql/*.log { | |
hourly | |
rotate 3 | |
size 5M | |
compress | |
notifempty | |
missingok | |
nocreate |
NewerOlder