Last active
February 9, 2018 08:28
-
-
Save tirumaraiselvan/05f840063aaefaf2199ab3e0bc1b7338 to your computer and use it in GitHub Desktop.
Namenode service
This file contains hidden or 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: v1 | |
kind: Service | |
metadata: | |
app: namenode | |
hasuraService: custom | |
name: namenode | |
namespace: default | |
spec: | |
ports: | |
- port: 8020 #map service port 8020 to pod port 8020 | |
targetPort: 8020 | |
protocol: TCP | |
name: nn-rpc | |
- port: 80 #map service port 80 to pod port 50070 | |
targetPort: 50070 | |
protocol: TCP | |
name: nn-web | |
selector: | |
app: namenode | |
clusterIP: None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment