Related Articles
kubectl Quick Reference
Kubectl autocomplete BASH source <(kubectl completion bash) # set up autocomplete in bash into the current shell, bash-completion package should be installed first. echo “source <(kubectl completion bash)” >> ~/.bashrc # add autocomplete permanently to your bash shell. You can also use a shorthand alias for kubectl that also works with completion: alias k=kubectl complete -o default […]
Setup SCTP In Red Hat / CentOS Linux 8
1. Install kernel-modules-extra and SCTP for the currently installed kernel; yum install kernel-modules-extra-`uname -r` yum install -y lksctp-tools lksctp-tools-devel lksctp-tools-doc 2. Add sctp to /etc/modules-load.d/* to load sctp before systemd-sysctl.service during boot. Loading sctp before systemd-sysctl.service allows the sctp sysctl.conf settings to be effective; # cat /etc/modules-load.d/sctp.conf sctp 3. sctp is blacklisted by default on […]
Setting Up an NFS Server and Client on CentOS 7
I’m using two CentOS systems here: NFS Server: server.example.com, IP address: 192.168.1.100 NFS Client: client.example.com, IP address: 192.168.1.101 Configure the Firewall firewall-cmd –permanent –zone=public –add-service=nfs firewall-cmd –reload Installing NFS and enable and start the nfs server service.(Client / Server) yum -y install nfs-utils systemctl enable nfs-server.service systemctl start nfs-server.service Exporting Directories on the Server mkdir […]