一、安装glusterfs https://www.cnblogs.com/zhangb8042/p/7801181.html 环境介绍; centos 7 [root@k8s-m ~]# cat /etc/hosts127.0.0.1 localhost localhost.localdomain ...
分类:
其他好文 时间:
2019-01-10 15:47:24
阅读次数:
516
参考下面博文 http://www.mamicode.com/info-detail-2270627.html 需要补充: k8s的的认证机制场景使用 客户端证书认证 采用双向证书进行认证,如api-server何etcd的通信 引导Token Service Account Tokens 认证: ...
分类:
其他好文 时间:
2019-01-09 11:20:41
阅读次数:
182
# Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the file path as first argumen ...
分类:
其他好文 时间:
2019-01-06 21:59:01
阅读次数:
361
如何成为一名黑客 Eric Steven Raymond https://translations.readthedocs.org/en/latest/hacker_howto.html How To Become A Hacker Eric Steven Raymond http://catb.o ...
分类:
编程语言 时间:
2019-01-06 15:01:18
阅读次数:
216
SpringBoot 项目打包后获取不到resource下资源的解决 在项目中有几个文件需要下载,然后不想暴露真实路径,又没有CDN,便决定使用接口的方式来获取文件。最初的时候使用了传统的方法来获取文件路径,发现不行。查找资料后发现是SpringBoot框架导致的,得用另外的方法: 刚开始的时候用的 ...
分类:
编程语言 时间:
2019-01-06 14:35:07
阅读次数:
4355
Problem: Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented by array nums. You are asked to burst all th ...
分类:
其他好文 时间:
2019-01-06 10:44:15
阅读次数:
132
第一题:题目内容 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input woul ...
分类:
其他好文 时间:
2019-01-03 22:41:15
阅读次数:
179
P1852 [国家集训队]跳跳棋 P1852 [国家集训队]跳跳棋 P1852 [国家集训队]跳跳棋 题目背景 原《奇怪的字符串》请前往 P2543 题目描述 跳跳棋是在一条数轴上进行的。棋子只能摆在整点上。每个点不能摆超过一个棋子。 我们用跳跳棋来做一个简单的游戏:棋盘上有3颗棋子,分别在a,b, ...
分类:
其他好文 时间:
2019-01-02 20:42:47
阅读次数:
216
10.4 ConfigMap Secret可以为Pod提供密码、Token、私钥等敏感数据;对于一些非敏感数据,比如一些配置信息,则可以用ConfigMap。 configMap的使用方式与Secret非常类似,不同的是数据十以明文的形式存放。 创建方式也是四种(和Secret一样,不同的是kube ...
分类:
其他好文 时间:
2019-01-02 12:30:33
阅读次数:
171
An image is represented by a 2-D array of integers, each integer representing the pixel value of the image (from 0 to 65535). Given a coordinate (sr, ...
分类:
其他好文 时间:
2019-01-02 10:45:09
阅读次数:
136