Skip to content

Instantly share code, notes, and snippets.

View martinliu's full-sized avatar
:octocat:
Working from home

Martin Liu martinliu

:octocat:
Working from home
View GitHub Profile
@martinliu
martinliu / aks-store-quickstart.yaml
Last active November 11, 2023 02:09
Use az cli to create a aks cluster
apiVersion: apps/v1
kind: Deployment
metadata:
name: rabbitmq
spec:
replicas: 1
selector:
matchLabels:
app: rabbitmq
template:
@martinliu
martinliu / add-host.sh
Last active July 8, 2020 17:19
Install and configure Elastic Beats on a host.
#!/bin/bash
# author: Martin Liu
# url:martinliu.cn
elastic_version='7.5.1'
b_rpm='https://mirrors.cloud.tencent.com/elasticstack/7.x/yum'
b_es='192.168.0.12:9200'
b_user='beats-writer'
b_pwd='DevOpsMeetup'