apiVersion: apps/v1
kind: Deployment
metadata:
  name: hbase-master
spec:
  selector:
    matchLabels:
      app: hbase-master
  replicas: 1
  template:
    metadata:
      labels:
        app: hbase-master
    spec:
      hostname: hbase-master
      containers:
        - name: hbase-master
          image: 119.253.86.183:18080/hadoop_plus/book2/hbase:master-slave1
          tty: true
          ports:
            - containerPort: 50070
            - containerPort: 8088
            - containerPort: 8080
            - containerPort: 8042
            - containerPort: 16010
            - containerPort: 7077
            - containerPort: 4040
            - containerPort: 10002
            - containerPort: 5000
            - containerPort: 54310
            - containerPort: 8032
            - containerPort: 8033
            - containerPort: 46773
            - containerPort: 8030
            - containerPort: 8031

