Last active
November 28, 2017 10:18
-
-
Save googlielmo/c8b07abc2a447dbb4b7484d556bcc01e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: hazelcast-deployment | |
spec: | |
replicas: 2 | |
template: | |
metadata: | |
labels: | |
app: hazelcast | |
spec: | |
containers: | |
- name: hazelcast | |
image: hazelcast/hazelcast:3.6.5 | |
--- | |
apiVersion: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: management-center | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: management-center | |
spec: | |
containers: | |
- name: hazelcast | |
image: hazelcast/management-center:3.6.5 | |
--- | |
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: my-service | |
spec: | |
type: NodePort | |
selector: | |
app: management-center | |
ports: | |
- protocol: TCP | |
port: 8080 | |
targetPort: 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment