-
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 pattern apply
#56
Conversation
… emojivoto to a file Signed-off-by: hershd23 <[email protected]>
… into add_onboard Merging upstream master
kubectl apply
with mesheryctl pattern apply
All these tests seem to be working for the time being. Changing |
Signed-off-by: hershd23 <[email protected]>
Signed-off-by: hershd23 <[email protected]>
Signed-off-by: hershd23 <[email protected]>
Linkerd erroring out while using
I remember having a conversation sometime back where @piyushsingariya mentioned that |
There is a problem with the file we are using for OSM. The pattern file expects a name at the very beginning while this is written like separate k8s objects. @Revolyssup how can we construct a pattern file out of the sample application file linked below for OSM? (Not a ) Pattern for OSM Compare it with Istio pattern Edit :- Even emojivoto is the same format as osm bookstore. Looks like app onboard is more suitable for this case |
Signed-off-by: hershd23 <[email protected]>
Now https://github.com/hershd23/meshery-smp-action/runs/6904759436?check_suite_focus=true#step:4:70 In this flow, it gives a message that app onboarded successfully yet no pods can be seen when trying to debug. Pods show up when the same steps as before are done again. Now this behaviour doesn't happen always but it doesn't look like |
Signed-off-by: hershd23 <[email protected]>
Faced this same behaviour this time with OSM.
|
The good thing is that apart from being a little unreliable application creation is going through. The funny thing is that though my tests it seems:- @leecalcote @jared Can we look into this behaviour? |
@hershd23 Sorry for looking at this late. Can I confirm that, from your test results, |
Yes, because emojivoto for linkerd and OSM demo aren't really pattern files. https://raw.githubusercontent.com/service-mesh-patterns/service-mesh-patterns/master/samples/bookInfoPattern.yaml https://github.com/openservicemesh/osm-docs/blob/main/manifests/apps/bookstore.yaml The pattern files requires a name field at the top, that is the error trace |
For all other purposes this works for now, having pattern apply for istio and app onboard for the examples of the rest |
@hershd23 Thanks for reporting this results. Did you tried to apply the bookinfo pattern on Linkerd and OSM? I think it's worth a try because:
@leecalcote Do you have any suggestions or answers on whether we can apply the bookinfo pattern on every meshes. |
Yes, Meshery's Adapters come with a few different sample applications - https://docs.meshery.io/guides/sample-apps. Ideally, we get a few of these worked into to the tests. |
if: ${{ github.event_name == 'workflow_dispatch' }} | ||
steps: | ||
- name: Setup Kubernetes | ||
uses: medyagh/[email protected] |
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.
@hershd23 Can we still use manusa/[email protected] and use start args: "--cpu 4 --memory 5192"
to set the cpu and memory? Because it's better to reduce unnecessary changes in this PR. I suggested it in #48, can you try to prove that everything when using manusa/actions-setup-minikube
?
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.
Sure
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.
Thank you. @hershd23
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.
https://github.com/hershd23/meshery-smp-action/runs/7053416986?check_suite_focus=true
Works fine, I had to increase the sleep timer for istio though
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.
Great!
Signed-off-by: hershd23 <[email protected]>
Signed-off-by: hershd23 <[email protected]>
As this PR works fine, I think we can merge it. However, Istio is using |
Hi @gyohuangxin, recently @Revolyssup and @gr455 explained a way to convert kubernetes manifests into a pattern file. I'll check if I am able to do that. If so I can also store it with the istio bookinfo pattern, not sure which repository that is but I'll find it and convert everything to pattern apply |
@hershd23 Good, thanks. If it will take some time, we can merge this first. Then you raise another PR if you find it works. |
Sure we can do that. I don't have the merge option with me so feel free to merge. I'll work on the other bit in a separate PR |
Description
This PR fixes #20
Notes for Reviewers
Most changes taken from @alphaX86 's work with minor changes
Signed commits