<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Function Runner on Porch Documentation</title><link>/docs/6_configuration_and_deployments/configurations/components/function-runner-config/</link><description>Recent content in Function Runner on Porch Documentation</description><generator>Hugo</generator><language>en-us</language><atom:link href="/docs/6_configuration_and_deployments/configurations/components/function-runner-config/index.xml" rel="self" type="application/rss+xml"/><item><title>Function Configuration</title><link>/docs/6_configuration_and_deployments/configurations/components/function-runner-config/function-configuration/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/6_configuration_and_deployments/configurations/components/function-runner-config/function-configuration/</guid><description>&lt;p&gt;Porch uses &lt;strong&gt;FunctionConfig&lt;/strong&gt; custom resources to decide &lt;em&gt;how&lt;/em&gt; a given function image is executed.
Each resource names a function (by image name and optional registry prefixes) and attaches one or more executors:
a Kubernetes pod, a local binary in the function-runner process, or an in-process Go call inside porch-server / porch-controllers.&lt;/p&gt;
&lt;p&gt;At least one of &lt;code&gt;podExecutor&lt;/code&gt;, &lt;code&gt;binaryExecutor&lt;/code&gt;, or &lt;code&gt;goExecutor&lt;/code&gt; must be set.
Porch ships a set of FunctionConfig objects in the &lt;code&gt;porch-fn-system&lt;/code&gt; namespace as part of the default install; you can add your own or edit the shipped ones.&lt;/p&gt;</description></item><item><title>Pod Templates</title><link>/docs/6_configuration_and_deployments/configurations/components/function-runner-config/pod-templates/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/6_configuration_and_deployments/configurations/components/function-runner-config/pod-templates/</guid><description>&lt;p&gt;The Function Runner builds each function evaluator pod from a base &lt;strong&gt;PodTemplate&lt;/strong&gt; and a &lt;strong&gt;ServiceTemplate&lt;/strong&gt;, then merges per-function overrides from the matching 
&lt;a href="/docs/6_configuration_and_deployments/configurations/components/function-runner-config/function-configuration/"&gt;FunctionConfig&lt;/a&gt;.
This is how you set resource limits, security context, service account, node scheduling, extra env, and service ports for function pods.&lt;/p&gt;
&lt;p&gt;There is no &lt;code&gt;--function-pod-template&lt;/code&gt; flag and no ConfigMap template.
The objects live in the function-pod namespace (default &lt;code&gt;porch-fn-system&lt;/code&gt;) and are named &lt;code&gt;base-pod-template&lt;/code&gt; and &lt;code&gt;base-service-template&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;For how those templates are used during pod creation, see 
&lt;a href="/docs/5_architecture_and_components/function-runner/functionality/pod-lifecycle-management/"&gt;Pod Lifecycle Management&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Private Registries</title><link>/docs/6_configuration_and_deployments/configurations/components/function-runner-config/private-registries-config/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/6_configuration_and_deployments/configurations/components/function-runner-config/private-registries-config/</guid><description>&lt;div class="alert alert-primary" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Note&lt;/div&gt;
&lt;p&gt;KPT functions and KRM functions are synonymous terms referring to the same containerized functions.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Configure the Function Runner to access private container registries for KRM functions.&lt;/p&gt;
&lt;h2 id="use-cases"&gt;Use Cases&lt;a class="td-heading-self-link" href="#use-cases" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Private registries are commonly used for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Enterprise environments&lt;/strong&gt; - Internal Harbor or JFrog registries&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cloud providers&lt;/strong&gt; - GitHub Container Registry (GHCR), AWS ECR, Azure ACR&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Custom functions&lt;/strong&gt; - Organization-specific KRM functions&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="default-public-registries"&gt;Default Public Registries&lt;a class="td-heading-self-link" href="#default-public-registries" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;By default, Function Runner uses public registries:&lt;/p&gt;</description></item></channel></rss>