{"id":32954,"date":"2023-03-03T11:40:06","date_gmt":"2023-03-03T11:40:06","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=32954"},"modified":"2025-01-13T12:15:24","modified_gmt":"2025-01-13T12:15:24","slug":"knative-example-of-knative-service-example-with-all-the-options-available","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/knative-example-of-knative-service-example-with-all-the-options-available\/","title":{"rendered":"Knative: Example of Knative Service Example with all the options available"},"content":{"rendered":"\n<p>The <code>metadata<\/code> section includes the name and namespace of the service, as well as annotations that specify the creator of the service and its visibility.<\/p>\n\n\n\n<p>The <code>spec<\/code> section includes the <code>template<\/code> for the service, which specifies the container image, environment variables, liveness and readiness probes, resources, and volume mounts.<\/p>\n\n\n\n<p>The <code>traffic<\/code> section specifies the traffic configuration for the service, including the latest revision and two revisions with equal traffic splitting.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/devops-school\/5c1007ae7671f22ba728d297d287b56e.js\"><\/script>\n","protected":false},"excerpt":{"rendered":"<p>The metadata section includes the name and namespace of the service, as well as annotations that specify the creator of the service and its visibility. The spec section includes the template for the service, which specifies the container image, environment variables, liveness and readiness probes, resources, and volume mounts. The traffic section specifies the traffic&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[8921],"tags":[],"class_list":["post-32954","post","type-post","status-publish","format-standard","hentry","category-knative"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/32954","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=32954"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/32954\/revisions"}],"predecessor-version":[{"id":32957,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/32954\/revisions\/32957"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=32954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=32954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=32954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}