Container
is created.Container
that will be started as part of a
Kubernetes Pod by launching the specified Docker image.
spring.cloud.deployer.kubernetes.volumeMounts=[{name: 'testhostpath', mountPath: '/test/hostPath'},
{name: 'testpvc', mountPath: '/test/pvc'}, {name: 'testnfs', mountPath: '/test/nfs'}]
Volume mounts can be specified as deployer properties as well as app deployment properties.
spring.cloud.deployer.kubernetes.volumes=[{name: testhostpath, hostPath: { path: '/test/override/hostPath' }},
{name: 'testpvc', persistentVolumeClaim: { claimName: 'testClaim', readOnly: 'true' }},
{name: 'testnfs', nfs: { server: '10.0.0.1:111', path: '/test/nfs' }}]
Volumes can be specified as deployer properties as well as app deployment properties.KubernetesAppDeployer
.name
to an ImagePullPolicy
by ignoring case, dashes, underscores
and so on like Spring Boot does it in RelaxedConversionService
.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.