分类:: k8s

k8s-yaml配置文件

1、Redis Deployment部署示例yaml先来看一个部署yaml示例文件: 12345678910111213141516171819202122232425262728293031# application/guestbook/redis-master-deployment.yaml apiVersion: apps/v1 # for versions before 1.9.0 use

k8s官网留言板demo

https://kubernetes.io/docs/tutorials/stateless-application/guestbook/#start-up-the-redis-master 1、部署redis-master Deployment Step1 编辑redis-master-deployment.yaml 12345678910111213141516171819202122

k8s集群搭建

1、节点 节点 IP master 192.168.124.100 node1 192.168.124.101 node2 192.168.124.102 node3 192.168.124.103 2、docker安装安装使用官方源,安装命令如下: 12345678# 下载仓库cd /etc/yum.repos.dwget https://download.docker