logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Kubernetes常用命令(kubectl)

1. kubectl介绍kubectl controls theKubernetescluster manager.Usage:kubectl [flags]kubectl [command][root@k8s-master01 ~]# kubectl --helpkubectl controls the Kubernetes cluster manager.Find more informati

#kubernetes#docker#容器
k8s pod yaml 文件详解

基础的必选参数# pod的最基础的yaml文件最少需要以下的几个参数apiVersion: v1 # API版本号,注意:具有多个,不同的对象可能会使用不同APIkind: Pod# 对象类型,podmetadata:# 元数据name: string # POD名称namespace: string # 所属的命名空间spec: # specification of the resource c

centos7.9忘记root密码后,重置root密码

1、开机按下Ecs键,进入如下界面2、根据需要选择系统内核版本并按e键3、光标移动到 linux 16 开头的行,找到 ro 改为 rw init=sysroot/bin/sh;4、按 Ctrl+x 执行5、进入如下界面后输入chroot /sysroot6、输入passwd根据提示输入两次新密码7、完成后输入 touch /.autorelabel 更新系统信息;8、退出 exit;9、然后使用

#linux
filebeat配置文件详解

#filebeat5.2.2#prospector(input)段配置filebeat.prospectors:#每一个prospectors,起始于一个破折号"-"-input_type: log #默认log,从日志文件读取每一行。stdin,从标准输入读取paths:#日志文件路径列表,可用通配符,不递归-/var/log/*.logencoding:plain #编码,默认无,plain(

#elk#linux
暂无文章信息