A Gaussian process is defined as a probability distribution over functions $y(\bold x)$ such that the set of values of $y(\bold x)$ evaluated at an arbitrary set of points $\bold x_1,\ldots,\bold x_N$ jointly have a Gaussian distribution. In generally, a stochastic process $y(\bold x)$ is specified by giving the joint probability distribution for any finite set of values $y(\bold x_1),\ldots,y(\bold x_N)$ in a consistent manner.
A key point about Gaussian stochastic processes is that the joint distribution over $N$ variables $y_1,\ldots,y_N$ is specified completely by the mean and the covariance. In most applications, we take the mean of $y(\bold x)$ to be zero. The specification of the Gaussian process is then completed by giving the covariance of $y(\bold x)$ evaluated at any two values of $\bold x$, which is given by the kernel function
$$ \Bbb E[y(\bold x_n)y(\bold x_m)]=k(\bold x_n,\bold x_M) $$
In order to apply Gaussian process models to the problem of regression, we need to take account of the noise on the observed target values, which are given by
$$ t_n=y_n+\epsilon_n $$
where $y_n=y(\bold x_n)$, and $\epsilon_n$ is a random noise variable whose value is chosen independently for each observation $n$. We shall consider noise processes that have a Gaussian distribution, so that
$$ p(t_n|y_n)=\mathcal N(t_n|y_n,\beta^{-1}) $$
The joint distribution of the target values $T=(t_1,\ldots,t_N)^{\text T}$ conditioned on the values of $Y=(y_1,\ldots,y_N)^{\text T}$ is given by
$$ p(T|Y)=\mathcal N(T|Y,\beta^{-1}\bold I_N) $$
From the definition of a Gaussian process, we have
$$ p(Y)=\mathcal N(Y|\bold 0,\bold K) $$
with a Gram matrix $\bold K$. These gives
$$ p(T)=\int p(T|Y)p(Y) \ \text dY=\mathcal N(T|\bold 0,\bold C) $$
where the covariance matrix $\bold C$ has elements
$$ C(\bold x_n,\bold x_m)=k(\bold x_n,\bold x_m)+\beta^{-1}\delta_{nm} $$
Let us suppose that $T_N=(t_1,\ldots,t_N)^{\text T}$, corresponding to input values $\bold x_1,\ldots,\bold x_N$, comprise the observed training set, and our goal is to predict the target variable $t_{N+1}$ for a new input vector $\bold x_{N+1}$. This requires that we evaluate the predictive distribution $p(t_{N+1}|T_N)$.
The joint distribution over $t_1,\ldots,t_{N+1}$ will be given by
$$ p(T_{N+1})=\mathcal N(T_{N+1}|\bold 0,\bold C_{N+1}) $$