开源软件名称(OpenSource Name):m3db/m3db-operator开源软件地址(OpenSource Url):https://github.com/m3db/m3db-operator开源编程语言(OpenSource Language):Go 95.4%开源软件介绍(OpenSource Introduction):M3 OperatorThe M3 Operator helps you set up M3 on Kubernetes. It aims to automate everyday tasks around managing M3, specifically, it aims to automate:
Table of ContentsMore InformationCommunity MeetingsM3 contributors and maintainers have regular meetings. Join our M3 meetup group to receive notifications on upcoming meetings: https://www.meetup.com/M3-Community/. You can find recordings of past meetups here: https://vimeo.com/user/120001164/folder/2290331. Office HoursMembers of the M3 team hold office hours on the third Thursday of every month from 11-1pm EST. To join, make sure to sign up for a slot here: https://calendly.com/chronosphere-intro/m3-community-office-hours. InstallDependenciesThe M3 operator targets Kubernetes 1.11 and 1.12. We aim to target the latest two minor versions supported by GKE but welcome community contributions to support more versions The M3 operator is intended for creating highly available clusters across distinct failure domains. For this reason it only support Kubernetes clusters with nodes in at least 3 zones, but [support][#68] for zonal clusters is coming soon. UsageThe following instructions are a quickstart to get a cluster up and running. This setup is not for production use, as it has no persistent storage. Read the operator documentation for more information on production-grade clusters. Create an etcd ClusterM3 stores its cluster placements and runtime metadata in etcd and needs a running cluster to communicate with. kubectl apply -f https://raw.githubusercontent.com/m3db/m3db-operator/v0.13.0/example/etcd/etcd-basic.yaml Install the OperatorUsing kubectl apply -f https://raw.githubusercontent.com/m3db/m3db-operator/v0.13.0/bundle.yaml Create an M3 ClusterThe following command creates an M3 cluster with 3 replicas of data across 256 shards that connects to the 3 available etcd endpoints. kubectl apply -f https://raw.githubusercontent.com/m3db/m3db-operator/master/example/m3db-local.yaml When running on GKE, the user applying the manifests needs the ability to allow kubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user=$(gcloud config get-value core/account) Resize a ClusterTo resize a cluster, specify the new number of instances you want in each zone either by reapplying your manifest or using Delete a Clusterkubectl delete m3dbcluster simple-cluster You also need to remove the etcd data, or wipe the data generated by the operator if you intend to reuse the etcd cluster for another M3 cluster: kubectl exec etcd-0 -- env ETCDCTL_API=3 etcdctl del --keys-only --prefix "" ContributingYou can ask questions and give feedback in the following ways: The M3 operator welcomes pull requests, read the development guide to help you get setup for building and contributing. This project is released under the Apache License, Version 2.0. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论