-
Notifications
You must be signed in to change notification settings - Fork 22
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
Replace kubectl apply
with mesheryctl app onboard
command
#48
Conversation
Signed-off-by: Aadhitya A <[email protected]>
Does this behave as expected? |
I thought it has CI actions inbuilt. Will check and let you know, Lee |
@alphaX86 Hi, do you have any updates? |
Signed-off-by: Aadhitya A <[email protected]>
Heads Up! The adapter port nos are temporary for now... Plus, I need to test the scripts in a VM to ensure it works fine and safe |
Signed-off-by: Aadhitya A <[email protected]>
I just have only one tiny doubt. How you'd login to meshery via "None" provider, without the usage of auth token? It drives me crazy as the |
Signed-off-by: Aadhitya A <[email protected]>
For Remote Provider, an infinite token can be assigned. |
Signed-off-by: Aadhitya A <[email protected]>
@alphaX86 Ready to be reviewed? Have you checked if it works? |
I need to test them on a cloud shell but due to limits on my AWS free tier, I could not see them. Plus, some PRs need to be merged on Meshery repo in order to reflect here @gyohuangxin any suggestions to test the shell script on a remote cloud system with k8s running. Mine has reached limits due to t2.micro CPU |
@alphaX86 Thanks.
So
The fastest way is to use this github action on your forked repo, you need to set |
Well.. Its system login, because |
I'll check it out. Thank you so much |
Is it there any workaround to let it work now? Because I will work on enabling other meshes and try to use |
Ok, you'd need an infinite lifetime auth token to accomplish this, because The token alone however, some folks only have it... @Revolyssup is there anyway to acquire this token? |
@alphaX86 Thanks for the information 👍 I have one infinite lifetime auth token in fact. |
Then it'd be easy for you 🙂👍 thanks @gyohuangxin |
Co-authored-by: Xin Huang <[email protected]>
@hershd23 Can you help try this? |
1 similar comment
@hershd23 Can you help try this? |
Yep I'll give this a shot |
https://github.com/hershd23/meshery-smp-action/runs/6867611798?check_suite_focus=true#step:5:226 Currently the tmate step keeps on printing the link to connect to the common terminal. It doesn't reach the next task. Any fixes for this @alphaX86 ? Edit :- Found a way by creating a file named continue in the project directory, is there a better way? |
https://github.com/hershd23/meshery-smp-action/actions/runs/2490527037 @gyohuangxin @alphaX86 still getting familiar with the issue, pulled up @alphaX86 's latest changes and the |
curl -fsL https://run.linkerd.io/emojivoto.yml | kubectl apply -f - | ||
kubectl -n emojivoto port-forward svc/web-svc 8080:80 &> /dev/null & | ||
kubectl get -n emojivoto deploy -o yaml | linkerd inject - | kubectl apply -f - | ||
curl -fsL https://run.linkerd.io/emojivoto.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The curl command isn't putting the output in a file. For reference :- https://github.com/hershd23/meshery-smp-action/runs/6868074975?check_suite_focus=true#step:4:285
We can add it explicitly like shown
curl -fsL https://run.linkerd.io/emojivoto.yml | |
curl -fsL https://run.linkerd.io/emojivoto.yml --output emojivoto.yml |
https://github.com/hershd23/meshery-smp-action/runs/6868235120?check_suite_focus=true Linkerd + wrk2 combination working fine with Are there specific cases that are not working @gyohuangxin @alphaX86 @leecalcote, that I should test? |
Tmate is used to debug the current session actually @hershd23 that is, you need to open the link and type :wq then the shell will be activated. Once you finished debugging you need to exit the shell by exit command. Then only it'll proceed to next step of action |
Check for Istio config and let us know :) I'm just busy with exams this whole month that's why seeking help from you @hershd23 ... :) |
@hershd23 Thanks for this testing, I saw the |
IOM, the
|
@gyohuangxin you're right Basically the pattern apply command is erroring out, the trace isn't helpful
|
Checked the system logs got this |
Ah simply changing to download from raw file works! |
The run is successful, more importantly we are sure that the pattern got applied It has an error towards the end, I don't know how relevant that is https://github.com/hershd23/meshery-smp-action/runs/6886559987?check_suite_focus=true#step:6:1709
Any ideas @gyohuangxin @alphaX86 @leecalcote ? |
Another comment, I feel for
|
@gyohuangxin should I also change the linkerd task from Or let it be as is? |
Also should I be making my own PR on this issue? Or suggest changes to this one itself? Not sure of @alphaX86 's availability due to his exams |
Yes, we should keep the method of deployment the same and also test on OSM. |
Your own PR makes sense. |
You're cleared to make a PR @hershd23 I'll close this staled one |
The script will be updated and tested. I'll do this in today evening and
let you know when it's done
…On Thu, 28 Apr 2022, 7:15 am Xin Huang, ***@***.***> wrote:
@alphaX86 <https://github.com/alphaX86> Hi, do you have any updates?
—
Reply to this email directly, view it on GitHub
<#48 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOGAOQUR4HMXRQ6I5UIZ26TVHHUTLANCNFSM5UBCNGAQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@alphaX86 Thank you very much! |
Strange.... I sent the above mail comment 2-3 months ago. Seems a bug within GitHub :/ anyway the changes are already merged in other way |
@alphaX86 OK fine, but the scripts doesn't work indeed recently. We tried to debug but have no idea, https://layer5io.slack.com/archives/CVBGPTFJN/p1665299033777169?thread_ts=1664371772.250329&cid=CVBGPTFJN, can you have a look if you have some cycles |
Got it 👍 |
Thank you |
Signed-off-by: Aadhitya A [email protected]
Description
This PR fixes #20
Notes for Reviewers
Signed commits