File tree 3 files changed +29
-2
lines changed
3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : k3d.io/v1alpha2
2
+ kind : Simple
3
+ name : my-cluster
4
+ servers : 1
5
+ agents : 1
6
+ image : rancher/k3s:v1.20.4-k3s1
7
+ volumes :
8
+ - volume : /Users/basil/projects:/mnt/projects
9
+ ports :
10
+ - port : 8080:80
11
+ nodeFilters :
12
+ - loadbalancer
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class App extends Component {
20
20
} ;
21
21
22
22
analyzeSentence ( ) {
23
- fetch ( 'http://localhost:8080 /sentiment' , {
23
+ fetch ( 'http://127.0.0.1:4504 /sentiment' , {
24
24
method : 'POST' ,
25
25
headers : {
26
26
'Content-Type' : 'application/json'
@@ -46,7 +46,7 @@ class App extends Component {
46
46
< MuiThemeProvider >
47
47
< div className = "centerize" >
48
48
< Paper zDepth = { 1 } className = "content" >
49
- < h2 > Input Your Message</ h2 >
49
+ < h2 > Enter a Message</ h2 >
50
50
< TextField ref = { ref => this . textField = ref } onKeyUp = { this . onEnterPress . bind ( this ) }
51
51
hintText = "Type your sentence." />
52
52
< RaisedButton label = "Send" style = { style } onClick = { this . analyzeSentence . bind ( this ) } />
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ kind: Config
3
3
metadata :
4
4
name : simple-microservice
5
5
build :
6
+ tagPolicy :
7
+ dateTime : {}
8
+ local :
9
+ push : false
6
10
artifacts :
7
11
- image : coit-backend1
8
12
context : coit-backend1
@@ -25,3 +29,14 @@ deploy:
25
29
- resource-manifests/service-coit-backend1-lb.yaml
26
30
- resource-manifests/service-coit-backend2.yaml
27
31
- resource-manifests/service-coit-frontend-lb.yaml
32
+ profiles :
33
+ - name : dev
34
+ activation :
35
+ - env : DEV=1
36
+ - kubeContext : arn:aws:eks:ap-south-1:210607809234:cluster/aws-mumbai-all
37
+ env : DEV=10
38
+ build :
39
+ local :
40
+ push : true
41
+ deploy :
42
+ kubeContext : arn:aws:eks:ap-south-1:210607809234:cluster/aws-mumbai-all
You can’t perform that action at this time.
0 commit comments