需求: 1、用户"wangqing"可以查看default、kube-system 两个namespace下的pod以及pod日志权限 2、用户"xiaowang"可以在default这个namespace下pod执行命令,并且可以删除pod 一、Serviceaccount服务账户和命名空间; 首 ...
分类:
其他好文 时间:
2021-05-25 18:42:28
阅读次数:
0
Skip to end of metadata Go to start of metadata The procedure to convert FSE2 from an IMG activity to a user transaction/current setting is outlined i ...
分类:
其他好文 时间:
2021-05-25 18:34:50
阅读次数:
0
依赖注入的好处就是低耦合也可以说是少写了重复的代码 构造函数依赖注入分为三步: 1、先创建一个接口 2、创建一个类,用于实现接口 3、到配置服务类(Startup)的 public void ConfigureServices(IServiceCollection services){ } 方法中注 ...
分类:
Web程序 时间:
2021-05-25 18:33:22
阅读次数:
0
部署# 服务端# 安装 NFS 服务 #执行以下命令安装 NFS 服务, #apt 会自动安装 nfs-common、rpcbind 等软件包 sudo apt install nfs-kernel-server 创建共享目录 在服务器端创建 /nfs 目录。 编写配置文件 vim /etc/exp ...
分类:
其他好文 时间:
2021-05-25 18:14:09
阅读次数:
0
xdebug 2.8 (貌似3.0以下都可以) [xdebug]xdebug.remote_enable=1xdebug.remote_host=host.docker.internalxdebug.remote_port=9000xdebug.remote_handler=dbgpxdebug.r ...
分类:
其他好文 时间:
2021-05-25 18:12:24
阅读次数:
0
在给2台mysql数据库配置主从同步,配置完成后,在slave上执行“start slave;”报错,提示:ERROR 1200 (HY000): The server is not configured as slave; fix in config file or with CHANGE MAS ...
分类:
数据库 时间:
2021-05-24 17:15:05
阅读次数:
0
原文地址:https://jingyan.baidu.com/article/49ad8bce97bd965834d8fa8b.html 刚使用centos7会发现,用以前的方式查看、打开和关闭防火墙都无效了。这是因为centos7的防火墙改用firewalld,而不再使用iptables了。下面就 ...
分类:
其他好文 时间:
2021-05-24 17:14:08
阅读次数:
0
https://cloud.google.com/storage/docs/gsutil_install#deb yum install google-cloud-sdk yum install gcc python3-devel python3-setuptools redhat-rpm-conf ...
分类:
其他好文 时间:
2021-05-24 16:44:17
阅读次数:
0
方法一 针对火狐浏览器的解决方法 1.在firefox(火狐浏览器)地址栏中输入: about:config 2.然后出现搜索框,搜索以下内容,双击将它设置成false。 network.captive-portal-service 方法二 该方法是通用的方法,通过设置burpsuite的拦截规则来 ...
分类:
其他好文 时间:
2021-05-24 16:40:30
阅读次数:
0
安装教程: https://www.cnblogs.com/laumians-notes/p/9069498.html https://blog.csdn.net/weixin_42869365/article/details/83472466 启动 net start mysql 登录 (1234 ...
分类:
数据库 时间:
2021-05-24 16:08:31
阅读次数:
0