Skip to main content

8 docs tagged with "devops"

View all tags

AWK SED Simple Usage

shell tee awk.txt <<-'EOF' john wang male 30 02103213 ludc dasf fama 12 12311321 EOF awk '{print $1,$4}' awk.txt

Basic Docker Commands

shell script docker pull xxx docker search xxx docker images docker images -q docker rmi containerId/SOURCEIMAGE[:TAG]

Common K8S Commands

shell systemctl status docker.service systemctl status kubelet.service netstat -antp| grep 6443 netstat -pnlt | grep 6443

Deploy with Docker in IDEA

shell systemctl disable firewalld --now setenforce 0 sed -i -r 's/SELINUX=[ep]./SELINUX=disabled/g' /etc/selinux/config

Docker Compose Usage

[reference article from here][docker compose redis cluster] > remember to replace the ip 192.168.3.163 to your real ip address

Install K8S on Centos8

| Host | IP | System | | ------ | ------------- | ---- | | master | 192.168.3.162 | Centos 8 kernel 4.18.0-240.el8.x8664 |