1 Star 0 Fork 0

zhuchance/kubernetes

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
.github
Godeps
api
build
cluster
cmd
docs
examples
federation
hack
hooks
logo
pkg
api
endpoints
errors
events
helper
install
meta
persistentvolume
pod
ref
resource
service
testapi
testing
unversioned
util
v1
validation
BUILD
OWNERS
annotation_key_constants.go
conversion_test.go
copy_test.go
deep_copy_test.go
defaulting_test.go
doc.go
field_constants.go
json.go
meta_test.go
node_example.json
objectreference.go
register.go
replication_controller_example.json
resource.go
serialization_proto_test.go
serialization_test.go
taint.go
taint_test.go
toleration.go
types.go
unstructured_test.go
zz_generated.deepcopy.go
apimachinery/tests
apis
auth
bootstrap/api
capabilities
client
cloudprovider
controller
conversion
credentialprovider
features
fieldpath
fields
generated
hyperkube
kubeapiserver
kubectl
kubelet
kubemark
labels
master
metrics
printers
probe
proxy
quota
registry
routes
runtime
security
securitycontext
serviceaccount
ssh
types
util
version
volume
watch
BUILD
OWNERS
plugin
staging
test
third_party
translations
vendor
.bazelrc
.gazelcfg.json
.generated_files
.gitattributes
.gitignore
BUILD.bazel
CHANGELOG-1.7.md
CONTRIBUTING.md
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES
README.md
Vagrantfile
WORKSPACE
code-of-conduct.md
labels.yaml
克隆/下载
replication_controller_example.json 2.87 KB
一键复制 编辑 原始数据 按行查看 历史
{
"kind": "ReplicationController",
"apiVersion": "v1",
"metadata": {
"name": "elasticsearch-logging-controller",
"namespace": "default",
"selfLink": "/api/v1/namespaces/default/replicationcontrollers/elasticsearch-logging-controller",
"uid": "aa76f162-e8e5-11e4-8fde-42010af09327",
"resourceVersion": "98",
"creationTimestamp": "2015-04-22T11:49:43Z",
"labels": {
"kubernetes.io/cluster-service": "true",
"name": "elasticsearch-logging"
}
},
"spec": {
"replicas": 1,
"selector": {
"name": "elasticsearch-logging"
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"kubernetes.io/cluster-service": "true",
"name": "elasticsearch-logging"
}
},
"spec": {
"volumes": [
{
"name": "es-persistent-storage",
"hostPath": null,
"emptyDir": {
"medium": ""
},
"gcePersistentDisk": null,
"awsElasticBlockStore": null,
"gitRepo": null,
"secret": null,
"nfs": null,
"iscsi": null,
"glusterfs": null,
"quobyte": null
}
],
"containers": [
{
"name": "elasticsearch-logging",
"image": "gcr.io/google_containers/elasticsearch:1.0",
"ports": [
{
"name": "db",
"containerPort": 9200,
"protocol": "TCP"
},
{
"name": "transport",
"containerPort": 9300,
"protocol": "TCP"
}
],
"resources": {},
"volumeMounts": [
{
"name": "es-persistent-storage",
"mountPath": "/data"
}
],
"terminationMessagePath": "/dev/termination-log",
"imagePullPolicy": "IfNotPresent",
"capabilities": {}
}
],
"restartPolicy": "Always",
"dnsPolicy": "ClusterFirst"
}
}
},
"status": {
"replicas": 1
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/meoom/kubernetes.git
git@gitee.com:meoom/kubernetes.git
meoom
kubernetes
kubernetes
v1.7.14

搜索帮助