<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[qq_26464429的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/qq_26464429</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; qq_26464429]]></copyright><item><title><![CDATA[k8s ingress and egress]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/87903152</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/87903152</guid><author>qq_26464429</author><pubDate>Sun, 24 Feb 2019 14:44:21 +0800</pubDate><description><![CDATA[simple architecture of ingress in k8s:

create ingress controller
To create the ingress controller, use Helm to install nginx-ingress. For added redundancy, two replicas of the NGINX ingress controlle...]]></description><category></category></item><item><title><![CDATA[k8s monitor]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86769533</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86769533</guid><author>qq_26464429</author><pubDate>Fri, 08 Feb 2019 18:09:30 +0800</pubDate><description><![CDATA[1.create AKS cluster
az group create -n aks2019rg -l eastus
az aks get-versions -l eastus -o table
az aks create -g aks2019rg -n aks2019 --node-count 2 --node-vm-size Standard_A2 --disable-rbac --gene...]]></description><category></category></item><item><title><![CDATA[k8s :AKS with Azure storage]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86769926</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86769926</guid><author>qq_26464429</author><pubDate>Wed, 06 Feb 2019 22:59:50 +0800</pubDate><description><![CDATA[Azure Disk for static:
manually create an Azure disk and attach it to a pod in AKS
1.create Azure Disk

2.mount disk as volume

kubectl apply -f azure-disk-pod.yaml
kubectl describe pod mypod
verify t...]]></description><category></category></item><item><title><![CDATA[k8s-monitor]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86692203</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86692203</guid><author>qq_26464429</author><pubDate>Tue, 29 Jan 2019 16:49:55 +0800</pubDate><description><![CDATA[Weave Scope can show a complete view of clusters and applications. Its excellent interactivity allows users to easily monitor and troubleshoot containerized applications in real time.
Heapster is Kube...]]></description><category></category></item><item><title><![CDATA[k8s -helm]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86684063</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86684063</guid><author>qq_26464429</author><pubDate>Mon, 28 Jan 2019 23:15:11 +0800</pubDate><description><![CDATA[Helm has two important concepts: chart and release.
Chart is a collection of information that creates an application, including configuration templates, parameter definitions, dependencies, documentat...]]></description><category></category></item><item><title><![CDATA[k8s volume]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86677817</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86677817</guid><author>qq_26464429</author><pubDate>Mon, 28 Jan 2019 15:11:26 +0800</pubDate><description><![CDATA[we use Cloud Provider Storage to provide Volume to k8s
create PersistentVolume,PersistentVolumeClaim,Pod(to use PVC)
demo:
1.Create PV and PVC.
define the Volume path and kind  in PersistentVolume
def...]]></description><category></category></item><item><title><![CDATA[k8s health check]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86675369</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86675369</guid><author>qq_26464429</author><pubDate>Mon, 28 Jan 2019 12:41:26 +0800</pubDate><description><![CDATA[the default health check : pod will restart when encountering  error
create Pod ,simulate failure by exit “1”
then pod has restarted 3 times

Liveness:
the process will create healthy file,delete it a...]]></description><category></category></item><item><title><![CDATA[k8s rolling update and rolling back]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86630613</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86630613</guid><author>qq_26464429</author><pubDate>Thu, 24 Jan 2019 17:33:43 +0800</pubDate><description><![CDATA[Rolling update can ensure the continuity of business because during the update there are copies running all the time.
demo:
create Deployment httpd
create ReplicaSet httpd-8*
create three Pods
now the...]]></description><category></category></item><item><title><![CDATA[k8s -Service to public]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86608722</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86608722</guid><author>qq_26464429</author><pubDate>Wed, 23 Jan 2019 13:42:56 +0800</pubDate><description><![CDATA[visit Pod via Service
we start 3 pods to run httpd

Pods are assigned with their IP which can only be visited in k8s Cluster


create Service:
v1 is apiVersion of Service
kind of resource is Service,w...]]></description><category></category></item><item><title><![CDATA[k8s Daemonset]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86607107</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86607107</guid><author>qq_26464429</author><pubDate>Wed, 23 Jan 2019 11:23:36 +0800</pubDate><description><![CDATA[only one Daemonset can run on each node
kubectl get daemonset --namespace=kube-system
kubectl get pod --namespace=kube-system -o wide

the system pod:
dns\etcd\apiserver\controller manager\scheduler\f...]]></description><category></category></item><item><title><![CDATA[k8s-deploy Pod to assigned Node]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86566186</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86566186</guid><author>qq_26464429</author><pubDate>Sun, 20 Jan 2019 21:05:21 +0800</pubDate><description><![CDATA[by deafult,Scheduler will schedule Pods to all available Nodes.
But in some situations,we will deploy Pod to assigned Node such as deploying using I/O’s Pod to Node with SSD,using GPU’s Pod to Node wi...]]></description><category></category></item><item><title><![CDATA[how k8s failover nodes]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86565000</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86565000</guid><author>qq_26464429</author><pubDate>Sun, 20 Jan 2019 19:23:40 +0800</pubDate><description><![CDATA[I have four Pods running on k8s cluster(node1 and node2)
execute “halt -h” on node2

kubectl get node,shows node2 is not ready

then k8s will tag Pods &quot;Unknown&quot;on node2,and create two new Pods on node...]]></description><category></category></item><item><title><![CDATA[k8s YAML]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86563569</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86563569</guid><author>qq_26464429</author><pubDate>Sun, 20 Jan 2019 16:57:13 +0800</pubDate><description><![CDATA[two ways to create resources
1.cmd
kubectl run nginx-deployment --image=nginx:1.7.9 --replicas=2
2.configuration file :yml
kubectl apply -f nginx.yml
the advantage of yml:
1.describes What the app ach...]]></description><category></category></item><item><title><![CDATA[k8s Deployment]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86561766</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86561766</guid><author>qq_26464429</author><pubDate>Sun, 20 Jan 2019 14:15:53 +0800</pubDate><description><![CDATA[**kubectl run nginx-deployment --image=nginx:1.7.9 --replicas=2
**
deploy two copied Deployment nginx-deployment
using image :nginx:1.7.9

kubectl describe deployment
we find the ReplicaSet is created...]]></description><category></category></item><item><title><![CDATA[a demo for k8s]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86557095</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86557095</guid><author>qq_26464429</author><pubDate>Sat, 19 Jan 2019 21:22:31 +0800</pubDate><description><![CDATA[deploy app on my k8s cluster:
deployed  the deployment httpd-app,two Pods
kubectl run httpd-app --image=httpd --replicas=2
kubectl get deployment
kubectl get pod -o wide

Master:

Node1:

Node2:

1.ku...]]></description><category></category></item><item><title><![CDATA[k8s architecture]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86556795</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86556795</guid><author>qq_26464429</author><pubDate>Sat, 19 Jan 2019 20:57:20 +0800</pubDate><description><![CDATA[Master:192.168.1.112
API-Server:provide restful API to the client to manage resources of Cluster.
Scheduler:decide to put Pod on which Node
Controller Manager:to manage resources
etcd :to store Cluste...]]></description><category></category></item><item><title><![CDATA[k8s second experience :install my k8s]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86556555</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86556555</guid><author>qq_26464429</author><pubDate>Sat, 19 Jan 2019 20:35:56 +0800</pubDate><description><![CDATA[deploy k8s cluster
experiment: master 192.168.1.112
node1 192.168.1.150
node2 192.168.1.224
Install Docker,All 3 nodes need to install
apt-get update &amp;amp;&amp;amp; apt-get install docker.io
Install kubel...]]></description><category></category></item><item><title><![CDATA[k8s first experience]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/86556422</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/86556422</guid><author>qq_26464429</author><pubDate>Sat, 19 Jan 2019 20:24:24 +0800</pubDate><description><![CDATA[1.k8s concept
Cluster:
Master调度Node
Pod:
smallest work cell ,run on the node
related containers run on the same pod to share resoures and lifecycle
two ways: one-container-per-Pod ,several—related-con...]]></description><category></category></item><item><title><![CDATA[kibana使用]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/82730259</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/82730259</guid><author>qq_26464429</author><pubDate>Mon, 17 Sep 2018 10:04:00 +0800</pubDate><description><![CDATA[kibana更新6.* 
更新后运行kibana要求elasticsearch5.*版本。

更新elasticsearch 
下载并安装 public signing key:

rpm –import https://artifacts.elastic.co/GPG-KEY-elasticsearch

添加elasticsearch的repo，在/etc/yum.repos.d/下新增ela...]]></description><category></category></item><item><title><![CDATA[ELK 二进宫]]></title><link>https://blog.youkuaiyun.com/qq_26464429/article/details/82717819</link><guid>https://blog.youkuaiyun.com/qq_26464429/article/details/82717819</guid><author>qq_26464429</author><pubDate>Sat, 15 Sep 2018 21:08:55 +0800</pubDate><description><![CDATA[Elasticsearch安装配置

基础环境安装（elk-node1和elk-node2同时操作）

1）下载并安装GPG Key 
rpm –import https://packages.elastic.co/GPG-KEY-elasticsearch

2）添加yum仓库 
vi /etc/yum.repos.d/elasticsearch.repo 
[elasticsearch-2.x...]]></description><category></category></item></channel></rss>