Create deployment with name “blue” using nginx image
Tuesday, May 3rd, 2022kubectl create deployment blue –image=nginx
kubectl create deployment blue –image=nginx
openssl rand -base64 12
netstat -tn 2>/dev/null | grep :3306 | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -nr | head
create user ‘db’user’@’10.10.5.5’ identified by ‘ ********** ’ ;
grant all privileges on `dyname`.* to ‘dbuser’@’10.10.5.5’;
select now()-pg_last_xact_replay_timestamp();
ALTER ROLE grafana_kms_srv WITH LOGIN;
GRANT SELECT ON ALL TABLES IN SCHEMA company_domain TO grafana_kms_srv;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO grafana_kms_srv;
GRANT USAGE ON SCHEMA public TO grafana_fms_srv;
GRANT USAGE ON SCHEMA company_domain TO grafana_fms_srv;
put the ssh public key of your PC in the following command and run it in any server want to access without password
echo ‘put the public key here’ >> /root/.ssh/authorized_keys
SELECT * FROM pg_available_extensions;
or
run this in postgres
\dx
oc adm policy add-role-to-user cluster_admin ayad
traceroute -T -p 22 alzwea.com