Last active
November 24, 2021 11:01
-
-
Save janakiramm/e936f3e996451177905a58a4916ff55a 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
# Create Triton service | |
cat <<EOF > triton-service.yaml | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: triton | |
namespace: model-server | |
spec: | |
type: NodePort | |
selector: | |
app: triton | |
ports: | |
- protocol: TCP | |
name: http | |
port: 8000 | |
nodePort: 30800 | |
targetPort: 8000 | |
- protocol: TCP | |
name: grpc | |
port: 8001 | |
nodePort: 30801 | |
targetPort: 8001 | |
- protocol: TCP | |
name: metrics | |
nodePort: 30802 | |
port: 8002 | |
targetPort: 8002 | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment