cat /etc/systemd/system/etcd.service
cat /etc/kubernetes/manifests/etcd.yaml (kubeadm)
ps -fC etcd | cat
.csr - Certificate Signing Request | |
.pem - certificate container | |
-----BEGIN CERTIFICATE REQUEST----- and -----END CERTIFICATE REQUEST----- show a CSR in PEM format. | |
-----BEGIN RSA PRIVATE KEY----- and -----END RSA PRIVATE KEY----- show a private key in PEM format. | |
-----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- show a certificate file in PEM format. | |
.key - PEM formatted file containing just private-key | |
.p12 - Passworded certificate container that contains both public and private certificate pairs | |
.der - a .pem file is just a Base64 encoded .der file | |
.crt - a .pem (or rarely .der) file recognized by Windows |
#------------------------------------------------------------------------------------- | |
# Create Self signed root certificate | |
# -dnsname -DnsName domain.example.com,anothersubdomain.example.com | |
# -Subject "CN=Patti Fuller,OU=UserAccounts,DC=corp,DC=contoso,DC=com" | |
$cert = New-SelfSignedCertificate -Type Custom -KeySpec Signature ` | |
-Subject "CN=P2SRootCert" ` | |
-KeyExportPolicy Exportable ` | |
-HashAlgorithm sha256 -KeyLength 4096 ` | |
-CertStoreLocation "Cert:\CurrentUser\My" ` | |
-KeyUsageProperty Sign ` |
if has('gui_running') | |
set go-=T " no toolbar | |
set lines=60 columns=108 linespace=0 | |
set gfn=Consolas:h12:cANSI | |
endif | |
set nocp | |
set nu | |
colo morning |
#!/bin/bash | |
apt-get update |
git config user.name "Azmi Kamis" | |
git config user.email "[email protected]" |
cd /d C:\Program Files\Docker\Docker\resources\bin | |
aria2c https://github.com/thomasliddledba/kubenswin/raw/master/bin/kubenswin.exe | |
aria2c https://github.com/thomasliddledba/kubectxwin/raw/master/bin/kubectxwin.exe | |
ren kubectxwin.exe kubectx.exe | |
ren kubenswin.exe kubens.exe |