Skip to content

Ci #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Ci #12

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions manifests/frontend-svc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: cryptomonitor-service
spec:
type: NodePort
selector:
app: cryptomonitor-app
ports:
- port: 80
# By default and for convenience, the `targetPort` is set to
# the same value as the `port` field.
targetPort: 80
# Optional field
# By default and for convenience, the Kubernetes control plane
# will allocate a port from a range (default: 30000-32767)
nodePort: 30007
21 changes: 21 additions & 0 deletions manifests/frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: cryptomonitor-deployment
labels:
app: cryptomonitor-app
spec:
replicas: 1
selector:
matchLabels:
app: cryptomonitor-app
template:
metadata:
labels:
app: cryptomonitor-app
spec:
containers:
- name: cryptomonitor-container
image: vinitkulkarni/crypto-monitor-img:{BUILD_ID}
ports:
- containerPort: 80